Forums / Setup & design / Fetch the nodes under a node's grandparent /cache

Fetch the nodes under a node's grandparent /cache

Author Message

Jack Rackham

Sunday 16 May 2004 8:56:00 am

I need to fetch the nodes under a node's grandparent. How do I do this when cache is turned on? See: http://www.ez.no/community/forum/general/fetching_nodes_under_a_nodes_grandparent

I have tried this

{let category_list=fetch(content,'list',hash(parent_node_id,$DesignKeys:used.parent_node,
'class_filter_type', 'include',
'class_filter_array', array( 10 )))}

but it works only when a delete the cache.

Silke Fox

Wednesday 26 May 2004 2:08:24 am

In which view mode are you trying to do so?

Check the setting of ComplexDisplayViewModes in your site.ini.append.
It's default is "sitemap", so the view cache for the sitemap view is cleared more often
because one of the objects might have changed.
So what you're trying to do should work in sitemap.tpl, but not in full.tpl (as long
as you don't add "full" to ComplexDisplayViewModes).

Silke

Jack Rackham

Wednesday 02 June 2004 5:39:42 am

Do you know a similar command that will work under full.tpl