Re: [PHPTAL] tal:repeat and php:

2009-05-26 Thread Kornel LesiƄski
On 26-05-2009 at 13:22:10 Dominique Sandoz j...@gmx.ch wrote: Hi Tjerk, thank you very much! Worked like a charm :) Do you know if its possible to use repeat/box/number like tal:condition=php: repeat/box/number GT 3 ? Yes. Use repeat.box.number (with php: expressions '.' means '-' and like

Re: [PHPTAL] tal:repeat and php:

2009-05-24 Thread Tjerk Meesters
That's because you're using the php: construct; try tal:condition=php: box['nr'] 5 Though, usually - wherever I can - i insert the condition inside the list of elements I'm iterating over, so that I don't have to use php: Best, Tjerk On Sun, May 24, 2009 at 6:13 PM, Dominique Sandoz