Forums / Setup & design / Random and cache... / Comment24741
Kristoffer Karlsson
Thursday 05 July 2007 7:23:29 am
Thanks for your trying to help me.
I have moved the {set-block scope=root variable=cache_ttl}0{/set-block} to the top of the template and removed the cache-blocks.
It now works if I disable view-caching. If I turn it on I get the same article every time.
The code I posted is from the template horizontally_listed_subitems. I also added {set-block scope=root variable=cache_ttl}0{/set-block} to the pagelayout.tpl and the article-line.tpl, but with no result.
I am a beginner to ez and I am really greatful for your help.
_____________________________________ Blog: http://www.kristofferkarlsson.com Website: http://www.spelkanalen.com