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.

eZ debug

Timing: Jan 18 2025 15:01:20
Script start
Timing: Jan 18 2025 15:01:20
Module start 'layout'
Timing: Jan 18 2025 15:01:20
Module start 'content'
Timing: Jan 18 2025 15:01:21
Module end 'content'
Timing: Jan 18 2025 15:01:21
Script end

Main resources:

Total runtime0.7181 sec
Peak memory usage4,096.0000 KB
Database Queries54

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0046 588.0469152.6406
Module start 'layout' 0.00460.0026 740.687539.4766
Module start 'content' 0.00710.7094 780.1641500.7813
Module end 'content' 0.71660.0015 1,280.94538.1250
Script end 0.7181  1,289.0703 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00300.4208160.0002
Check MTime0.00130.1797160.0001
Mysql Total
Database connection0.00060.079510.0006
Mysqli_queries0.676994.2690540.0125
Looping result0.00050.0656520.0000
Template Total0.694796.720.3474
Template load0.00190.260520.0009
Template processing0.692896.482220.3464
Template load and register function0.00010.016010.0001
states
state_id_array0.00100.137010.0010
state_identifier_array0.00100.142920.0005
Override
Cache load0.00150.2138180.0001
Sytem overhead
Fetch class attribute can translate value0.00070.095320.0003
Fetch class attribute name0.00130.186640.0003
XML
Image XML parsing0.00100.143120.0005
class_abstraction
Instantiating content class attribute0.00000.001140.0000
General
dbfile0.00080.1126220.0000
String conversion0.00000.000940.0000
Note: percentages do not add up to 100% because some accumulators overlap

Templates used to render the page:

UsageRequested templateTemplateTemplate loadedEditOverride
1node/view/full.tplfull/forum_topic.tplextension/sevenx/design/simple/override/templates/full/forum_topic.tplEdit templateOverride template
2content/datatype/view/ezimage.tpl<No override>extension/sevenx/design/simple/templates/content/datatype/view/ezimage.tplEdit templateOverride template
2content/datatype/view/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
3content/datatype/view/ezxmltags/line.tpl<No override>design/standard/templates/content/datatype/view/ezxmltags/line.tplEdit templateOverride template
3content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 12
 Number of unique templates used: 6

Time used to render debug report: 0.0001 secs