Using treemenu in a block

Author Message

Stefano Guandalini

Thursday 17 April 2008 7:23:29 am

I'm starting to use eZ flow and I have a question regarding variables usable into blocks.
If I want, for example, use treemenu function to create a menĂ¹ in a block, I need the variable $module_result.path, that is not present in a block level template.

How could I workaround or solve this problem?

Ty

Stefano Guandalini
http://www.nizan.net

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

Main resources:

Total runtime0.1756 sec
Peak memory usage4,096.0000 KB
Database Queries48

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0057 589.3750152.6250
Module start 'layout' 0.00570.0060 742.000039.4609
Module start 'content' 0.01170.1623 781.4609465.5156
Module end 'content' 0.17400.0016 1,246.97668.1563
Script end 0.1755  1,255.1328 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00392.2106160.0002
Check MTime0.00150.8521160.0001
Mysql Total
Database connection0.00090.502310.0009
Mysqli_queries0.117366.8222480.0024
Looping result0.00070.4011460.0000
Template Total0.122869.920.0614
Template load0.00271.564920.0014
Template processing0.120068.362420.0600
Template load and register function0.00010.066710.0001
states
state_id_array0.00130.732410.0013
state_identifier_array0.00120.685220.0006
Override
Cache load0.00181.050880.0002
Sytem overhead
Fetch class attribute can translate value0.00090.535410.0009
Fetch class attribute name0.00070.420820.0004
XML
Image XML parsing0.00060.340010.0006
class_abstraction
Instantiating content class attribute0.00000.002320.0000
General
dbfile0.00090.5087160.0001
String conversion0.00000.007340.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/line.tpl<No override>design/standard/templates/content/datatype/view/ezxmltags/line.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: 6
 Number of unique templates used: 6

Time used to render debug report: 0.0002 secs