Items are not shown in top menu

Author Message

Mihhail Rekun

Monday 12 June 2006 3:33:56 pm

Hello,

I have created one custom class "Publications" and it's instance (agi_pubz) in root folder in "Content Structure". And it doesn't appear on the menu. I tried a direct link to this object :

http://localhost/ezpub/index.php/agi_pubz

It works, showing custom template and it seems to be ok, but I can't make it appear on the menu.
I have created Folder object and Feedback form at the same place and they are shown.
Is is possible to have a link to a custom object from top menu?

Thanks in advance,

Mihhail

André R.

Monday 12 June 2006 4:51:01 pm

take a look in menu.ini, then override those settings in one of your siteaccess or the override folder.

eZ Online Editor 5: http://projects.ez.no/ezoe || eZJSCore (Ajax): http://projects.ez.no/ezjscore || eZ Publish EE http://ez.no/eZPublish/eZ-Publish-Enterprise-Subscription
@: http://twitter.com/andrerom

Mihhail Rekun

Monday 12 June 2006 5:48:53 pm

I have tried to modify

\settings\siteaccess\corporate_site\menu.ini.append.php

TopIdentifierList[]
TopIdentifierList[]=folder
TopIdentifierList[]=feedback_form

added this line:

TopIdentifierList[]=agipubs

where agipubs - is my class identifier

But nothing has changed and I'm not even sure if this file is used by the system,
Maybe it's the wrong file or should I do smth else to make my custom objects appear on top menu?

Thank you so far,

Mihhail

Łukasz Serwatka

Monday 12 June 2006 11:13:41 pm

Have you tried clear the cache?

Personal website -> http://serwatka.net
Blog (about eZ Publish) -> http://serwatka.net/blog

Mihhail Rekun

Tuesday 13 June 2006 3:59:54 am

Yes, this helped either, thank you very much!

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

Main resources:

Total runtime0.8662 sec
Peak memory usage4,096.0000 KB
Database Queries65

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0051 589.1484152.6250
Module start 'layout' 0.00510.0029 741.773439.4453
Module start 'content' 0.00800.8566 781.2188603.6797
Module end 'content' 0.86460.0015 1,384.898412.1641
Script end 0.8661  1,397.0625 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00290.3389160.0002
Check MTime0.00120.1380160.0001
Mysql Total
Database connection0.00060.068510.0006
Mysqli_queries0.795191.7909650.0122
Looping result0.00070.0803630.0000
Template Total0.837096.620.4185
Template load0.00901.034320.0045
Template processing0.828095.593420.4140
Template load and register function0.00020.023310.0002
states
state_id_array0.00160.182710.0016
state_identifier_array0.00080.091420.0004
Override
Cache load0.00160.1888320.0001
Sytem overhead
Fetch class attribute can translate value0.00050.054030.0002
Fetch class attribute name0.00090.101770.0001
XML
Image XML parsing0.00540.629130.0018
class_abstraction
Instantiating content class attribute0.00000.001770.0000
General
dbfile0.00180.2060250.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
5content/datatype/view/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
8content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
3content/datatype/view/ezxmltags/line.tpl<No override>design/standard/templates/content/datatype/view/ezxmltags/line.tplEdit templateOverride template
2content/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: 20
 Number of unique templates used: 6

Time used to render debug report: 0.0001 secs