Friday 09 December 2005 2:43:03 am
I'm wrestling with cache blocks in a full template for a certain node. Specifically, I want the cache to be based on url, user and a ezpreference parameter: So I use
{array($uri_string,$current_user.contentobject_id, ezpreference('forumlook'))|attribute(show)}
in the template, but whenever I have view cache active, I always get
Attribute Type Value
0 NULL
1 NULL
2 string $whateverwasselectedatlastcacheclean
My pagelayout doesn't have a cache block around module_result so I can't figure out why the above doesn't always get updated?` (If I disable the view cache, ezpreference will work but the two other strings still are even though the cache-block doc specifically mentions them to cache based on URI and user).
Visit http://triligon.org
|