[PHPTAL] combining conditions

Stefan Schwardt newsletter at stefan-schwardt.de
Tue May 30 14:46:56 CEST 2006


Hi there,

I can't find a solution to combine different condition (without 
translating them into php or creating a seperate bool):

code:
<span tal:condition="variables/default_value" tal:condition="php: index 
GE 1"  >

target:
both conditions have to be true to proceed

result:
condition 2 overwrites condition 1


Are there any solutions for cases like this?did I just miss anything?


Stefan.



More information about the PHPTAL mailing list