Hi, guys.
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
Thanks,
Anton
___
PHPTAL mailing list
PHPTAL rewrites code in php: expressions to use TAL variables, so it
will work fine.
Please can you explain a bit more about this? How it works?
On Fri, May 30, 2008 at 7:47 PM, Kornel Lesinski [EMAIL PROTECTED]
wrote:
On Fri, 30 May 2008 17:36:34 +0100, Anton Andrievskij [EMAIL PROTECTED]
On Fri, 30 May 2008 17:59:58 +0100, Anton Andrievskij [EMAIL PROTECTED]
wrote:
PHPTAL rewrites code in php: expressions to use TAL variables, so it
will work fine.
Please can you explain a bit more about this? How it works?
There's a simple PHP parser that modifies the code (see
On Fri, May 30, 2008 at 07:04:47PM +0300, Anton Andrievskij 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
in python an empty list is