Location issue symlink

Author Message

Guy Brun

Tuesday 07 March 2006 3:43:54 am

I have a template that lists a treemenu using code like i.e.
{def $mainMenu=treemenu( $module_result.path,$module_result.node_id, array('folder','sections'), 0, 6 )}

I have also added some locations.

When I click on one of the locations I only get the content of the clicked
node and not the content of the original source. To solve this I think I need to
refere to main_node_id instead og node_id. Since main_node_id is the same id for both locations.
Code for this will be something like:
{def $mainMenu=treemenu( $node.path_array,$node.main_node_id, array('folder','sections'), 0, 6 )}

This does not work. It seems that node.path_array differs from module_result.path

Does anybody know I way to solve this?

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

Main resources:

Total runtime1.1324 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.0049 590.1641152.6094
Module start 'layout' 0.00500.0026 742.773439.4141
Module start 'content' 0.00761.1234 782.1875401.2266
Module end 'content' 1.13100.0014 1,183.41418.1875
Script end 1.1324  1,191.6016 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00340.2965160.0002
Check MTime0.00140.1196160.0001
Mysql Total
Database connection0.00070.057810.0007
Mysqli_queries1.093296.5381460.0238
Looping result0.00050.0456440.0000
Template Total1.100097.120.5500
Template load0.00210.188120.0011
Template processing1.097996.945220.5489
Template load and register function0.00020.020410.0002
states
state_id_array0.00140.121410.0014
state_identifier_array0.00150.129720.0007
Override
Cache load0.00170.1536130.0001
Sytem overhead
Fetch class attribute can translate value0.00060.050310.0006
Fetch class attribute name0.00070.059710.0007
XML
Image XML parsing0.00010.011410.0001
class_abstraction
Instantiating content class attribute0.00000.000410.0000
General
dbfile0.00060.0559100.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
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