Disappeared menu while node_id is empty

Author Message

Aleksander Lech

Monday 16 January 2006 5:33:21 am

Hi there,
I know the topic seems solved but I'm still having this problem:

{let docs=treemenu( $module_result.path,
                             is_set( $module_result.node_id )|choose( 2, $module_result.node_id ),
                             array( 1 ),0, 3 )
                             depth=2}

works mainly good, but on search result page menu is gone. $module_result.node_id is empty even though it is set to 2.

Any idea how to make it work??

Regards
Aleksander

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

Main resources:

Total runtime0.6986 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.0067 589.4766152.6406
Module start 'layout' 0.00670.0069 742.117239.4766
Module start 'content' 0.01360.6832 781.5938401.7969
Module end 'content' 0.69680.0018 1,183.39068.2969
Script end 0.6986  1,191.6875 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00350.4955160.0002
Check MTime0.00150.2089160.0001
Mysql Total
Database connection0.00110.160910.0011
Mysqli_queries0.659394.3720460.0143
Looping result0.00060.0813440.0000
Template Total0.662094.820.3310
Template load0.00200.291220.0010
Template processing0.659994.457320.3300
Template load and register function0.00010.021110.0001
states
state_id_array0.00080.115310.0008
state_identifier_array0.00140.196520.0007
Override
Cache load0.00170.2399100.0002
Sytem overhead
Fetch class attribute can translate value0.00090.135110.0009
Fetch class attribute name0.00060.091810.0006
XML
Image XML parsing0.00010.016310.0001
class_abstraction
Instantiating content class attribute0.00000.000510.0000
General
dbfile0.00120.1683100.0001
String conversion0.00000.001640.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
3content/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: 9
 Number of unique templates used: 6

Time used to render debug report: 0.0001 secs