[PHPTAL] Re: Insert TAL variables into TAL variable

Bas kooybas at hotmail.com
Wed Jun 30 17:46:43 CEST 2010


Hi,

I implemented the solution, but now the macro is cached and I don't know how to 
specify that it should not be cached. 
I already added a tal:cache attribute to the define macro tag, like this:

<tal:block metal:define-macro="contentGenerated" 
tal:cache="100d per article/getDateContentModified" />

But no matter what I put in the tal:cache attribute, I still get the same output 
as when I first executed the macro. 
I am sure the content of the article changed, if I just echo the content in the 
resolve function I do see the modified content.

Regards,
Bas




More information about the PHPTAL mailing list