Maintain menu position when using extension?

Author Message

Sander van den Akker

Thursday 23 February 2006 12:09:44 am

I've searched for this without getting any solutions so I decided to start this thread.

is it possible to maintain the active node and thus active (left)menu position while using an home-made extension? if so, which parameter / object do I need to pass to achieve this?

eZ Publish certified developer
http://auth.ez.no/certification/verify/392313

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

Main resources:

Total runtime0.8454 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.0073 589.2891152.6406
Module start 'layout' 0.00740.0038 741.929739.4766
Module start 'content' 0.01110.8330 781.4063463.7031
Module end 'content' 0.84410.0013 1,245.10948.1250
Script end 0.8454  1,253.2344 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00320.3817160.0002
Check MTime0.00130.1547160.0001
Mysql Total
Database connection0.00090.106710.0009
Mysqli_queries0.804295.1223460.0175
Looping result0.00050.0580440.0000
Template Total0.804395.120.4022
Template load0.00230.276520.0012
Template processing0.802094.862920.4010
Template load and register function0.00010.012410.0001
states
state_id_array0.00100.117510.0010
state_identifier_array0.00120.145220.0006
Override
Cache load0.00190.222560.0003
Sytem overhead
Fetch class attribute can translate value0.00080.097510.0008
Fetch class attribute name0.00070.087320.0004
XML
Image XML parsing0.00050.064810.0005
class_abstraction
Instantiating content class attribute0.00000.000620.0000
General
dbfile0.00090.1116170.0001
String conversion0.00000.001740.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/ezimage.tpl<No override>extension/sevenx/design/simple/templates/content/datatype/view/ezimage.tplEdit templateOverride template
1content/datatype/view/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
1content/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: 5
 Number of unique templates used: 5

Time used to render debug report: 0.0001 secs