[PHPTAL] combining conditions

Joshua Paine lists at fairsky.us
Tue Jun 13 23:42:53 CEST 2006


Stefan Schwardt wrote:
> result:
> condition 2 overwrites condition 1

I think this is correct WRT XML spec--I don't think you can have two of 
the same attribute.

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

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

-- 
Joshua Paine
Chief Tower Builder
LetterBlock Software
http://letterblock.com/



More information about the PHPTAL mailing list