Forums / Developer / adding location / Comment44547

Author Topic

Mark Marsiglio

Saturday 05 November 2005 9:31:15 am

Comment44547

It is normal behavior (a "feature") for the additional location of a node to not have the same children as the main location.

To get around this problem, we replace fetches for children with fetches of the children of the main node of the object.

In a tree nav, it looks like this...

 {let  nodechildren=fetch(content,list,hash(
                                   parent_node_id,$node_obj.main_node_id,
                                   sort_by,$node_obj.sort_array
))}

The only change is setting the parent node id as the parent object main node id.

It also might require a change in other templates that list children, like Folder.tpl.

http://www.thinkcreative.com
Turning Ideas Into Strategic Solutions