Thursday 27 May 2010 7:48:37 am
I have the following code which returns a random article:
{def $random_articles=fetch('content', 'list', hash('parent_node_id', 72, 'offset', rand(0,4), 'limit', 1))}
{foreach $random_articles as $article}
{$article.name|wash} {/foreach} My problem is that a new article is not loaded when I hit the F5, because the page is cached. I've even tried removing {cache-block}, but that didn't help. How can I get around this problem?
|