Forums / General / Items are not shown in top menu
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
Monday 12 June 2006 5:48:53 pm
I have tried to modify
\settings\siteaccess\corporate_site\menu.ini.append.php
TopIdentifierList[] TopIdentifierList[]=folderTopIdentifierList[]=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,
Ł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
Tuesday 13 June 2006 3:59:54 am
Yes, this helped either, thank you very much!