Author Topic

André R.

Friday 04 May 2007 12:29:27 am

Comment48110

I'm guessing that the code your are showing here is from pgalayout.tpl, in that case:

Why are you wrapping modul_result.content inside a cache block ?
veiw_cache is the cache that handles the caching of modul_result.content, so you don't need a cache block around it. So remove the cache block and try again.

And this line:
{set-block scope=root variable=cache_ttl}0{/set-block}
Is supposed to be used inside node / system templates to turn of view cache for that specific page. Node / system templates are the one generating $modul_result.content, you can read more about it in the doc.

eZ Online Editor 5: http://projects.ez.no/ezoe || eZJSCore (Ajax): http://projects.ez.no/ezjscore || eZ Publish EE http://ez.no/eZPublish/eZ-Publish-Enterprise-Subscription
@: http://twitter.com/andrerom