Newbie : Left menu and Sections

Author Message

Fabrice Girardot

Friday 24 September 2004 5:17:02 am

Hi all,

I want to build a dynamic left menu with folders in my section 1 and 6 like this example :

<b>[here is: name of section 1]
|-front page of section 1
|-folder 1
|-folder 2
|-folder 3
|-...
[here is: name of section 6]
|-front page of section 6
|-folder 4
|-folder 5
|-folder 6
|-...</b>

Is there a simple way to do this ?

Thanks

--
Fabrice

Mark Marsiglio

Friday 24 September 2004 6:45:15 am

Customize your fetch to filter/include sections 1 and 6. If you start with the default flat_left.tpl and customize that (in your override folder of course), you could do this as a tree menu pretty easily. That would mean that only the subtree would only show when you are in the parent. i.e. if you are viewing Front Page of Section 1, the folder 4,5, and 6 would not show under Front page of Section 6.

Unfortunately, I do not know the syntax for filtering by section. I have only seen it done by class.

http://www.thinkcreative.com
Turning Ideas Into Strategic Solutions

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 31 2025 06:11:53
Script start
Timing: Jan 31 2025 06:11:53
Module start 'layout'
Timing: Jan 31 2025 06:11:53
Module start 'content'
Timing: Jan 31 2025 06:11:54
Module end 'content'
Timing: Jan 31 2025 06:11:54
Script end

Main resources:

Total runtime1.1077 sec
Peak memory usage4,096.0000 KB
Database Queries54

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0050 588.1328151.2109
Module start 'layout' 0.00500.0023 739.343836.6484
Module start 'content' 0.00731.0994 775.9922926.2109
Module end 'content' 1.10680.0009 1,702.20317.8516
Script end 1.1077  1,710.0547 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00300.2716160.0002
Check MTime0.00120.1092160.0001
Mysql Total
Database connection0.00080.074310.0008
Mysqli_queries1.060095.6865540.0196
Looping result0.00050.0418520.0000
Template Total1.078897.420.5394
Template load0.00190.174920.0010
Template processing1.076997.214820.5384
Template load and register function0.00110.102610.0011
states
state_id_array0.00140.123510.0014
state_identifier_array0.00110.097520.0005
Override
Cache load0.00160.1436240.0001
Sytem overhead
Fetch class attribute can translate value0.00070.059320.0003
Fetch class attribute name0.00190.174840.0005
XML
Image XML parsing0.00330.294520.0016
class_abstraction
Instantiating content class attribute0.00000.000740.0000
General
dbfile0.00350.3151210.0002
String conversion0.00000.000640.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
2content/datatype/view/ezimage.tpl<No override>extension/sevenx/design/simple/templates/content/datatype/view/ezimage.tplEdit templateOverride template
2content/datatype/view/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.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/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: 10
 Number of unique templates used: 6

Time used to render debug report: 0.0001 secs