Left menu: always the same

Author Message

Yannick Peignard

Thursday 21 January 2010 12:33:48 am

Hi,

I try to modify the left menu to have always the same, not change by $module_result.path. Which path must I put in the treemenu template operator to get this result?

I try this:

{def $root_node_id=ezini('TreeMenu','RootNodeID','contentstructuremenu.ini')
$root_node=fetch('content','node',hash('node_id',$root_node_id))}

{let docs=treemenu( $root_node.path,
is_set( $module_result.node_id )|choose( 2, $module_result.node_id ),
ezini( 'MenuContentSettings', 'LeftIdentifierList', 'menu.ini' ),
0, 5 )}

But it doesn't work.

Thanx for your help.

Powered by eZ Publish™ CMS Open Source Web Content Management. Copyright © 1999-2014 eZ Systems AS (except where otherwise noted). All rights reserved.