help me solution the left_menu modifying!

Author Message

yunxia cai

Thursday 17 July 2008 8:17:31 pm

I want to the this code , but I don't know how to modify that is wanted my target.
this code :

{if or(is_unset($module_result.content_info.class_identifier), ne( $module_result.content_info.class_identifier, 'documentation_page' ))}
{def $root_node=fetch( 'content', 'node', hash( 'node_id', $module_result.path[$pagerootdepth].node_id ) )
$left_menu_items = fetch( 'content', 'list', hash( 'parent_node_id', $root_node.node_id,
'sort_by', $root_node.sort_array,
'class_filter_type', 'include',
'class_filter_array', ezini( 'MenuContentSettings', 'LeftIdentifierList', 'menu.ini' ) ) )

my target: different class file display its child file in the left_menu .and the other class file not display in the left_menu. Thank you very much!!!

Vicente Olivan

Monday 21 July 2008 3:04:43 am

Hi,
You need create/modified an override file settings in your siteaccess or /extension/ezwebin/settings called <i>menu.ini.append.php</i> and change LeftIdentifierList[] setting.
Greetings

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