Problem using treemenu

Author Message

Arne Schirmacher

Thursday 03 June 2004 12:20:26 am

The code fragment

{let mainMenu=treemenu( $module_result.path, 
                                    $module_result.node_id,
                                    array('folder','info_page'), 1, 6 )}
...

works when used in pagelayout.tpl. How do I use the treemenu within for example full_view_article.tpl, which does not have the $module_result variable? I can't seem to find an object similar to $module_result.path in the $node hierarchy.

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 19 2025 01:04:03
Script start
Timing: Jan 19 2025 01:04:03
Module start 'layout'
Timing: Jan 19 2025 01:04:03
Module start 'content'
Timing: Jan 19 2025 01:04:04
Module end 'content'
Timing: Jan 19 2025 01:04:04
Script end

Main resources:

Total runtime0.5131 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.0053 589.1484152.6250
Module start 'layout' 0.00530.0029 741.773439.4453
Module start 'content' 0.00820.5034 781.2188399.8281
Module end 'content' 0.51160.0015 1,181.04698.1719
Script end 0.5131  1,189.2188 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00340.6576160.0002
Check MTime0.00120.2430160.0001
Mysql Total
Database connection0.00080.161710.0008
Mysqli_queries0.474592.4615460.0103
Looping result0.00040.0765440.0000
Template Total0.479693.520.2398
Template load0.00220.420420.0011
Template processing0.477593.048820.2387
Template load and register function0.00010.025410.0001
states
state_id_array0.00130.252010.0013
state_identifier_array0.00070.142520.0004
Override
Cache load0.00180.346560.0003
Sytem overhead
Fetch class attribute can translate value0.00070.138510.0007
Fetch class attribute name0.00050.092210.0005
XML
Image XML parsing0.00010.021210.0001
class_abstraction
Instantiating content class attribute0.00000.000810.0000
General
dbfile0.00490.9637100.0005
String conversion0.00000.001340.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/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
1content/datatype/view/ezxmltags/literal.tpl<No override>extension/community/design/standard/templates/content/datatype/view/ezxmltags/literal.tplEdit templateOverride template
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 6
 Number of unique templates used: 5

Time used to render debug report: 0.0001 secs