No caching of random image

Author Message

Anders F

Tuesday 27 January 2004 3:11:03 pm

When caching is enabled (default settings) my randomised image isn't randomised anymore. I guess that's normal behaviour. Is there somehow I can override caching for a specific content or a template?

I tried {set-block name=random scope=root variable=cache_ttl}0{/set-block} at the top of the template, with no luck.

James Packham

Wednesday 28 January 2004 3:00:15 am

I believe you have to write an extension to 'shuffle' your images, look under community contributions someone may have left something there.

Regards,

~James~

Anders F

Wednesday 28 January 2004 4:26:27 am

Thanks for the reply, and thanks for the tip.

But, the random function (and it is in fact the shuffle contribution ;) ) works perfectly when caching is turned off.

Powered by eZ Publish™ CMS Open Source Web Content Management. Copyright © 1999-2014 eZ Systems AS (except where otherwise noted). All rights reserved.