On 30-06-2010 at 17:15:30 Bas <kooy...@hotmail.com> wrote:

Thanks for the quick reply. I didn't change the template code, only the

In this case I guess phptal:cache="" is to blame. Does it work without it?

Try putting <tal:block phptal:cache=""> on its own (either inside the macro, or outside element calling the macro) rather than on the same element that defines macro.

One more thing:

tal:cache="100d per article/getDateContentModified" />

This will make cache shared among all articles with same date. Try "100d per php:article.getID() . article.getDateContentModified()".

regards, Kornel

PHPTAL mailing list

Reply via email to