Tuesday 07 March 2006 3:43:54 am
I have a template that lists a treemenu using code like i.e. {def $mainMenu=treemenu( $module_result.path,$module_result.node_id, array('folder','sections'), 0, 6 )} I have also added some locations.
When I click on one of the locations I only get the content of the clicked
node and not the content of the original source. To solve this I think I need to
refere to main_node_id instead og node_id. Since main_node_id is the same id for both locations.
Code for this will be something like: {def $mainMenu=treemenu( $node.path_array,$node.main_node_id, array('folder','sections'), 0, 6 )} This does not work. It seems that node.path_array differs from module_result.path Does anybody know I way to solve this?
|