On Fri, 30 May 2008 17:04:47 +0100, Anton Andrievskij <[EMAIL PROTECTED]> wrote:

How can I specify multiple conditions using AND logical operator and php:
for one of the parts?

I'm trying this but does not works:

tal:condition="exists: products AND php:count(products) == 0"

TALES doesn't have any logical operators except alternative ("a | b | nothing" syntax).

You can use:
 php:isset(products) and !count(products)

--
regards, Kornel

_______________________________________________
PHPTAL mailing list
PHPTAL@lists.motion-twin.com
http://lists.motion-twin.com/mailman/listinfo/phptal

Reply via email to