Using a node to generate Menu but redirecting to a sub-page

Author Message

Mark Emms

Friday 23 May 2008 3:54:08 am

I have created a site structure as follows:

Root (a folder with no content of its own)
|
----Home (set as site default URL)
|
----About
| |
| -----The Company
| |
| ----- Standards
| |
| ----- Ethics
|
----Contact
| |
| -----Contact Us
| |
| ----- International Contact
|
etc

The menu structure looks fine because the top level Root is not presented. I am using a dropdown menu system.

I want the About page to redirect to "The Company" if it is clicked on and the Contact page to reidrect to the Contact Us.

At the moment to have the menu looking as I want it to I am having to maintain 2 objects - I only want to have to maintain one.

Thanks!

Mark Emms

Friday 23 May 2008 4:02:12 am

Just found this:

http://ez.no/developer/forum/setup_design/direct_link_to_another_node_in_menu

think it might hold the answer

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

Main resources:

Total runtime0.6652 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.0056 588.1719152.6563
Module start 'layout' 0.00560.0034 740.828139.5078
Module start 'content' 0.00900.6550 780.3359461.3047
Module end 'content' 0.66410.0011 1,241.64068.0938
Script end 0.6652  1,249.7344 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00340.5173160.0002
Check MTime0.00140.2105160.0001
Mysql Total
Database connection0.00090.132810.0009
Mysqli_queries0.620893.3259520.0119
Looping result0.00040.0574500.0000
Template Total0.634995.520.3175
Template load0.00240.360820.0012
Template processing0.632595.089620.3163
Template load and register function0.00010.016510.0001
states
state_id_array0.00120.176510.0012
state_identifier_array0.00090.133320.0004
Override
Cache load0.00190.2891330.0001
Sytem overhead
Fetch class attribute can translate value0.00050.082210.0005
Fetch class attribute name0.00080.121630.0003
XML
Image XML parsing0.00060.090810.0006
class_abstraction
Instantiating content class attribute0.00000.001340.0000
General
dbfile0.00090.1281160.0001
String conversion0.00000.001640.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