path in treemenu

Author Message

Jaromir Matysek

Saturday 12 March 2005 8:21:41 am

Can someone please explain or point me to an explanation of how to substitute the <i>$module_result.path</i> with my own path when fetching a treemenu?

Basically what I want to do is to have a javascript expandable menu, containing always all the folders inside a parental folder for that section, independently on the $module_result.path. How can I do it?

Thanks a lot

Jaromir Matysek

Saturday 12 March 2005 11:33:37 am

Solved already, basically all I needed was to override <i>contentstructuremenu.ini</i> in my siteaccess settings, change whatever I need, and use the content of <i>design/standard/templates/contentstructuremenu/content_structure_menu.tpl</i>.

The solution of what is needed for alternate $path array in treenode would be appreciated though.

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 20 2025 08:49:06
Script start
Timing: Jan 20 2025 08:49:06
Module start 'layout'
Timing: Jan 20 2025 08:49:06
Module start 'content'
Timing: Jan 20 2025 08:49:08
Module end 'content'
Timing: Jan 20 2025 08:49:08
Script end

Main resources:

Total runtime1.4047 sec
Peak memory usage4,096.0000 KB
Database Queries52

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0079 590.1719152.6094
Module start 'layout' 0.00800.0041 742.781339.4141
Module start 'content' 0.01211.3912 782.1953421.9375
Module end 'content' 1.40330.0014 1,204.13288.1875
Script end 1.4047  1,212.3203 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00400.2832160.0002
Check MTime0.00160.1108160.0001
Mysql Total
Database connection0.00080.056210.0008
Mysqli_queries1.363897.0847520.0262
Looping result0.00060.0424500.0000
Template Total1.368197.420.6840
Template load0.00220.157520.0011
Template processing1.365897.230020.6829
Template load and register function0.00020.012210.0002
states
state_id_array0.00120.087610.0012
state_identifier_array0.00230.167120.0012
Override
Cache load0.00180.128390.0002
Sytem overhead
Fetch class attribute can translate value0.00080.055510.0008
Fetch class attribute name0.00090.066420.0005
XML
Image XML parsing0.00020.015610.0002
class_abstraction
Instantiating content class attribute0.00000.000520.0000
General
dbfile0.00070.0493100.0001
String conversion0.00000.000840.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/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
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: 4

Time used to render debug report: 0.0001 secs