Novel(?) Site structure

Author Message

Mark Emms

Thursday 03 May 2007 9:29:35 am

I have built a site with 2 sections (to be expanded to 4 eventualy) - each is a node tree below the root node.

I have built a custom navigation system to allow changing between the two areas of the site and set up the left menu so that the root node is not shown (i.e. the menu starts at the second level and just shows the navigation for the area of the site you are in).

In each area of the site I want to have a Home link at the top of the left menu - I don't want Home to be the parent of the other top level navigation items within the areas it needs to be at the same level.

How can I do that?

Mark Emms

Thursday 03 May 2007 11:16:41 am

To clarify the problem:

Red Area and Yellow Area are second level nodes.

Red Area Home is a third level node as are a load of other pages beneath Red Area (the same applies to Yellow Area) - we want all of these nodes to appear at the same level.

The Breadcrumb includes Red Area at its root (by changing the settings for the breadcrumb) - or Yellow Area of you follow a top menu link to the Yellow Area.

By Clicking Red Area in the Breadcrumb you end up one level above the Red Home so you have the problem of 2 Red Area "home pages".

SOLUTION:

Use URL translation to redirect requests for Red Area to Red Area Home as described here:

http://ez.no/community/forum/setup_design/redirect_to_child_node/re_redirect_to_child_node__3

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

Main resources:

Total runtime0.8112 sec
Peak memory usage4,096.0000 KB
Database Queries52

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0062 589.0234152.6250
Module start 'layout' 0.00620.0018 741.648439.4453
Module start 'content' 0.00800.8018 781.0938459.5703
Module end 'content' 0.80980.0014 1,240.66418.1719
Script end 0.8112  1,248.8359 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00340.4219160.0002
Check MTime0.00120.1470160.0001
Mysql Total
Database connection0.00110.130810.0011
Mysqli_queries0.758893.5419520.0146
Looping result0.00050.0601500.0000
Template Total0.774995.520.3875
Template load0.00260.322620.0013
Template processing0.772395.199220.3861
Template load and register function0.00010.014810.0001
states
state_id_array0.00080.093810.0008
state_identifier_array0.00090.114020.0005
Override
Cache load0.00220.2741180.0001
Sytem overhead
Fetch class attribute can translate value0.00060.074710.0006
Fetch class attribute name0.00120.151730.0004
XML
Image XML parsing0.00070.090510.0007
class_abstraction
Instantiating content class attribute0.00000.001640.0000
General
dbfile0.00100.1236160.0001
String conversion0.00000.000940.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
2content/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: 8
 Number of unique templates used: 5

Time used to render debug report: 0.0002 secs