Forums / Developer / cache-block problem

cache-block problem

Author Message

Vytautas Germanavičius

Friday 16 September 2005 6:55:43 am

i have
{cache-block keys=array($uri_string, $current_user.contentobject_id}

... form to create object, which is shown, if user has rights to create object ...

{/cache-block}

Problem, that after i create object, this cache-block becomes empty. And it remains empty, untill clear all cache

{set-block scope=root variable=cache_ttl}0{/set-block}

Lex 007

Friday 16 September 2005 7:01:21 am

missing ) problem ?

{cache-block keys=array($uri_string, $current_user.contentobject_id<b>)</b>}

Vytautas Germanavičius

Friday 16 September 2005 7:26:37 am

NO, this was simple mistiping in post...

{cache-block keys=array($uri_string, $current_user.contentobject_id)}
   {tool_bar name=inner_left view=full}
{/cache-block}

This is is somehow related with cache, toolbar, and/or updating of $node.object.can_create_class_list.

{set-block scope=root variable=cache_ttl}0{/set-block}