[PHPTAL] problem with passing object to template

2009-03-13 Thread majkel
I have the following template: div id=table_form form name=${t/classname} id=${t/classname} target=${t/classname}.php lang=PL action=post table class=table_form theadtd colspan=2${t/caption}/td/thead tbody tr tal:repeat=val t/colModel td label

[PHPTAL] problem with passing object to template

2009-03-13 Thread majkel
I have the following template: div id=table_form form name=${t/classname} id=${t/classname} target=${t/classname}.php lang=PL action=post table class=table_form theadtd colspan=2${t/caption}/td/thead tbody tr tal:repeat=val t/colModel td label

[PHPTAL] How to compare numbers with equal character

2009-03-13 Thread majkel
1. How to compare numbers with equal character. I found : LT (less than) : GT (greater than) = : LE (less or equal) = : GE (greater or equal) Where is = ? so I can use it like this: span tal:condition=php: val.type EE 253 ? Greetings Majkel

[PHPTAL] Cache dir where

2009-03-13 Thread majkel
Where can I set a dir where cache files are stored?I cannot find it in project. I am working under windows and I get sometime such a path: C:\WINDOWS\Temp\tpl_1236978684_1_1_15tableformtcc8cf327fdbdf5e391edd36d143408af.php Greetings Majkel___ PHPTAL

[PHPTAL] Re: [multi dimension array] problem with repeat

2009-02-23 Thread Majkel
Sure your solution seems to be more natural. I am new to PHPTAL, and I am wondering to migrate to PHPTAL from SMARTY. I am curious about this situation whether it is possible to handle such a situation with PHPTAL. ___ PHPTAL mailing list

[PHPTAL] Re: [multi dimension array] problem with repeat

2009-02-23 Thread Majkel
I want to get a key of item and than use it it the loop as index of different arrays. Greetings Majkel ___ PHPTAL mailing list PHPTAL@lists.motion-twin.com http://lists.motion-twin.com/mailman/listinfo/phptal