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

2011-05-08 Thread Fernando Martins
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... I have a main page template person.zpt which defines the layout

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

2011-05-08 Thread Fernando Martins
yep, that's it :) Levi Stanley wrote: I think Fernando was trying to instead of defining people everytime, he wanted to define it in the macro he was using everywhere so he wouldn't have to define in every presentation view. He says he is able to do it in ZPT. However, I have never used ZPT,