Thursday 07 August 2008 2:56:21 am
hello, i want to use the cache-block that will not expire when a node is published, but i don't understand why it didn't work. my code is:
{cache-block ignore_content_expiry}
{section name=article loop=fetch('content','list', hash(parent_node_id,169))}
<a href={$article:item.url_alias|ezurl()}>{$article:item.object.name}</a><br/>
{/section}
{/cache-block}
when a new node is published , the cache-block expired so the list is updated. thanks in advance.
The theory is when we know everything and nothing works.
The practice is when everything works and nobody knows why.
If the practice and theory are met, nothing works and we do not know why.
Albert Einstein
|