eZ Community » Forums » Setup & design » Left menu: always the same
expandshrink

Left menu: always the same

Left menu: always the same

Thursday 21 January 2010 9: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.

No reply yet!

expandshrink

You must be logged in to post messages in this topic!

36 542 Users on board!

Forums menu

Proudly Developed with from