Re: [PHPTAL] issue with variable defined in a full page macro

2011-05-11 Thread Kornel Lesiński
On Sun, 08 May 2011 16:14:46 +0100, Fernando Martins wrote: I'm afraid I can't understand what you are trying to achieve there. What is the effect of the tal:define="callback 'display-list'" ?? what do the quotes do to display-list? and how would I use the callback? Sorry, very confused.

Re: [PHPTAL] Evaluating tal:attributes Generated By PreFilters

2011-05-11 Thread Kornel Lesiński
On Wed, 11 May 2011 07:42:50 +0100, Darrell Noice wrote: foreach(...) { ... $new_attrs = array(); $new_attrs[] = new PHPTAL_Dom_Attr("variables","",implode(",",$vars),"UTF-8"); $new_attrs[] = new PHPTAL_Dom_Attr("tal:attributes","","token {$token}","UTF-8"); PHPTAL's DOM uses XML namespa

Re: [PHPTAL] Evaluating tal:attributes Generated By PreFilters

2011-05-11 Thread Darrell Noice
And that was exactly what I needed. Thank you very much. Darrell Hamilton, Software Developer, 4over, Inc darre...@4over.com 818-246-1170 ext. 285 2011/5/11 Kornel Lesiński : > On Wed, 11 May 2011 07:42:50 +0100, Darrell Noice > wrote: > >> foreach(...) { >> ... >> $new_attrs = array(); >> $