Forums / Setup & design / TemplateCache and offset conflict

TemplateCache and offset conflict

Author Message

Jean-Luc Chassaing

Wednesday 21 January 2009 3:53:24 am

Hello,

My website works with ez 4.0.1.

In my website news page, all the articles are displayed and sorted by page using the google navigator template.

The problem is that when TemplateCache is set to enabled in my siteaccess the pages with or whithout the offset parameter display the same content.

I 've tried setting {set-block scope=root variable=cache_ttl}0{/set-block}
or {cache-block expiry=0} in my template but nothing works when TemplateCache is set to enabled.

 

André R.

Wednesday 21 January 2009 5:06:14 am

Do you use offset in pagelayout inside a cache-block or do you have a cache-block inside a node template?

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

Jean-Luc Chassaing

Wednesday 21 January 2009 5:17:11 am

You got it right, I had an unclosed cache-block in my pagelayout template.

Thank you very much.