help me solution left_menu

Author Message

cindy cai

Friday 11 July 2008 2:07:55 am

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!!!

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 16:15:15
Script start
Timing: Jan 18 2025 16:15:15
Module start 'layout'
Timing: Jan 18 2025 16:15:15
Module start 'content'
Timing: Jan 18 2025 16:15:16
Module end 'content'
Timing: Jan 18 2025 16:15:16
Script end

Main resources:

Total runtime0.7360 sec
Peak memory usage4,096.0000 KB
Database Queries46

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0052 589.0313152.6250
Module start 'layout' 0.00520.0030 741.656339.4453
Module start 'content' 0.00810.7264 781.1016401.7422
Module end 'content' 0.73450.0015 1,182.84388.1641
Script end 0.7360  1,191.0078 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00310.4273160.0002
Check MTime0.00130.1774160.0001
Mysql Total
Database connection0.00100.136010.0010
Mysqli_queries0.700795.2060460.0152
Looping result0.00040.0553440.0000
Template Total0.708196.220.3541
Template load0.00210.287220.0011
Template processing0.706095.919120.3530
Template load and register function0.00020.032310.0002
states
state_id_array0.00150.198110.0015
state_identifier_array0.00140.184320.0007
Override
Cache load0.00170.2360120.0001
Sytem overhead
Fetch class attribute can translate value0.00070.091010.0007
Fetch class attribute name0.00110.151210.0011
XML
Image XML parsing0.00010.012510.0001
class_abstraction
Instantiating content class attribute0.00000.000910.0000
General
dbfile0.00060.0874100.0001
String conversion0.00000.001140.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
1content/datatype/view/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
2content/datatype/view/ezxmltags/line.tpl<No override>design/standard/templates/content/datatype/view/ezxmltags/line.tplEdit templateOverride template
2content/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: 7
 Number of unique templates used: 5

Time used to render debug report: 0.0001 secs