[pmwiki-users] (:pagelist order=random:) vs IMSCaching

viki.veeks at gmail.com viki.veeks at gmail.com
Mon Mar 28 05:13:49 CDT 2011


Hello.
I'm using pagelists to include random content in the wiki. The snippets 
from the tmpl files are as follows:

<div class="myclass">
<!--(:pagelist order=random count=1 fmt=#includeTitle list=normal 
group=mygroup:)-->
</div>

One of the `features' of this pagelist is that on each page reload, the 
content that is included via the pagelist is different.

However, this `feature' and `IMSCaching' don't get along with each 
other. When the following config.php line is uncommented, the 
pagelist-included content doesn't change on reload anymore:
$EnableIMSCaching = 1;

Is it possible to have both: caching and true `order=random' behaviour?

I tried using the cache=0 pagelist option to no avail...

fmt=#includeTitle is this:
http://www.pmwiki.org/wiki/Cookbook/PagelistTemplateSamples#IncludeTitle

Thanks.



More information about the pmwiki-users mailing list