Treemenu

Author Message

Radek Kuchta

Wednesday 12 July 2006 6:04:06 am

Hi all. I'm a beginner with eZ :)

My menu looks like this:

Folder 1 (node 63) (section 1)
Folder 2 (node 64) (section 2)
-- art 1
-- art 2
-- art 3
Folder 3 (node 65) (section 3)
-- art 1
-- art 2
-- art 3
Folder 4 (node 66) (section 4)

I'am trying to build a left site menu (treemenu).
Is it possible to build this menu form one node only (For example node 64) or one section only ?

My menu.tpl starting:

{let docs=treemenu( $module_result.path,
64,
ezini( 'MenuContentSettings', 'LeftIdentifierList', 'menu.ini' ),
0, 5 )
depth=1
last_level=0}

http://ez.no/certification/verify/272582

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 21 2025 02:45:20
Script start
Timing: Jan 21 2025 02:45:20
Module start 'layout'
Timing: Jan 21 2025 02:45:20
Module start 'content'
Timing: Jan 21 2025 02:45:22
Module end 'content'
Timing: Jan 21 2025 02:45:22
Script end

Main resources:

Total runtime1.8049 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.0053 587.7891151.1953
Module start 'layout' 0.00530.0026 738.984436.6016
Module start 'content' 0.00791.7951 775.5859490.1016
Module end 'content' 1.80300.0018 1,265.68757.8906
Script end 1.8049  1,273.5781 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00360.1972160.0002
Check MTime0.00140.0776160.0001
Mysql Total
Database connection0.00070.037710.0007
Mysqli_queries1.763897.7214460.0383
Looping result0.00040.0240440.0000
Template Total1.771998.220.8859
Template load0.00200.111820.0010
Template processing1.769898.056620.8849
Template load and register function0.00010.005810.0001
states
state_id_array0.00170.094010.0017
state_identifier_array0.00110.063320.0006
Override
Cache load0.00160.0896250.0001
Sytem overhead
Fetch class attribute can translate value0.00070.036610.0007
Fetch class attribute name0.00070.040820.0004
XML
Image XML parsing0.00050.028010.0005
class_abstraction
Instantiating content class attribute0.00000.000220.0000
General
dbfile0.00120.0659160.0001
String conversion0.00000.000540.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
4content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
3content/datatype/view/ezxmltags/line.tpl<No override>design/standard/templates/content/datatype/view/ezxmltags/line.tplEdit templateOverride template
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 11
 Number of unique templates used: 6

Time used to render debug report: 0.0001 secs