How to have more than one nav hierarchy?

Author Message

Chris Fullerton

Monday 22 March 2004 7:26:57 am

OK, maybe there's an easy way to do this, but I can't seem to figure it out - any help would be appreciated.

Basically, I want to have two sets of menus - one at the top of the page, the second at the bottom of the page.

Can I somehow create a 2nd "root" node? I looked into sections, but there doesn't seem to be a way to associate a folder with a given section. Am I missing something?

I'd prefer to not have to hard-code IDs in templates.

Thanks.

Nicolas Heiringhoff

Thursday 25 March 2004 6:06:03 am

you can create a primary and a secondary navigation by placing your topics as folders for the two different navigations in two different folders in the root folder. you could name the first "primary navigation" and the other "secondary navigation". Then you use the tree-menu Code twice, with the node number of the two folders.
this works here. Each folder created in one of the navigation folders is automatically a new navigation topic, so hardcoding the node-ids of the folders is no obstacle i think.
we will soon have our site online, so that you will see the example.

http://www.heiringhoff.de

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 00:09:24
Script start
Timing: Jan 19 2025 00:09:24
Module start 'layout'
Timing: Jan 19 2025 00:09:24
Module start 'content'
Timing: Jan 19 2025 00:09:25
Module end 'content'
Timing: Jan 19 2025 00:09:25
Script end

Main resources:

Total runtime1.0915 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.0061 589.1641152.6406
Module start 'layout' 0.00610.0031 741.804739.4766
Module start 'content' 0.00921.0805 781.2813521.8203
Module end 'content' 1.08980.0017 1,303.10168.1250
Script end 1.0914  1,311.2266 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00380.3446160.0002
Check MTime0.00130.1228160.0001
Mysql Total
Database connection0.00080.070010.0008
Mysqli_queries1.046595.8780540.0194
Looping result0.00060.0593520.0000
Template Total1.056596.820.5282
Template load0.00200.178720.0010
Template processing1.054596.615620.5273
Template load and register function0.00020.022010.0002
states
state_id_array0.00190.175210.0019
state_identifier_array0.00090.079620.0004
Override
Cache load0.00160.1421140.0001
Sytem overhead
Fetch class attribute can translate value0.00090.080020.0004
Fetch class attribute name0.00180.161330.0006
XML
Image XML parsing0.00170.157220.0009
class_abstraction
Instantiating content class attribute0.00000.000930.0000
General
dbfile0.00190.1744160.0001
String conversion0.00000.000840.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/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
2content/datatype/view/ezxmltags/line.tpl<No override>design/standard/templates/content/datatype/view/ezxmltags/line.tplEdit templateOverride template
1content/datatype/view/ezimage.tpl<No override>extension/sevenx/design/simple/templates/content/datatype/view/ezimage.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