How do I get a link to appear in the menu just like content?

Author Message

nigel dodd

Tuesday 12 July 2005 8:32:26 am

I have top level folders and these appear nicely in the automatically generated menus.

I would have thought that if I had put a link (to a virtual url) at the same level in the content tree then this also should appear in the menu.

But it doesn't. All things are possible and I dare say I could delve into the auto menu generation mechanism and find out how it works but I wonder if there is an easy way.

David Eriksson

Tuesday 12 July 2005 8:37:23 am

Well, you could check out the templates (flat_top.tpl and flat_left.tpl, I believe). Shouldn't be very hard to get it to fetch/display link objects as well.

/David

Luc Chase

Tuesday 12 July 2005 9:54:53 am

nigel,
go into your menu.ini.append.php within the siteaccess being used ( settings/siteaccess/<yourSiteAccess> or in settings/override if you want to make this global ) and add an entry for the appropriate menu like so...
LeftIdentifierList[]=link

or

TopIdentifierList[]=link

Clear cache!

The Web Application Service Provider

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

Main resources:

Total runtime0.7059 sec
Peak memory usage4,096.0000 KB
Database Queries59

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.0029 740.828139.5078
Module start 'content' 0.00850.6958 780.3359561.2656
Module end 'content' 0.70430.0016 1,341.60168.0938
Script end 0.7058  1,349.6953 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00340.4756160.0002
Check MTime0.00140.1935160.0001
Mysql Total
Database connection0.00090.124510.0009
Mysqli_queries0.659093.3683590.0112
Looping result0.00060.0844570.0000
Template Total0.678196.120.3390
Template load0.00220.313220.0011
Template processing0.675895.741220.3379
Template load and register function0.00010.012910.0001
states
state_id_array0.00080.111110.0008
state_identifier_array0.00090.120720.0004
Override
Cache load0.00180.2577160.0001
Sytem overhead
Fetch class attribute can translate value0.00090.132630.0003
Fetch class attribute name0.00120.165140.0003
XML
Image XML parsing0.00070.094530.0002
class_abstraction
Instantiating content class attribute0.00000.001040.0000
General
dbfile0.00080.1063160.0000
String conversion0.00000.001440.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
3content/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