Forums / Setup & design / Problems with admin menu

Problems with admin menu

Author Message

pierre oOo

Wednesday 25 June 2008 10:46:01 am

Hi,

i want to see in the admin interface menu, a new class I created ("copy_of_frontpage").

I modified contentstructuremenu.ini.append.php in my siteaccess settings but it doesn't work !

<?php /* #?ini charset="utf-8"?

[TreeMenu]
Dynamic=enabled

ShowClasses[]
ShowClasses[]=folder
ShowClasses[]=user_group
ShowClasses[]=documentation_page
ShowClasses[]=event_calender
ShowClasses[]=frontpage
ShowClasses[]=forums
ShowClasses[]=copy_of_frontpage

*/ ?>

Is there another setting to modify ?

Pierre

Ivo Lukac

Wednesday 25 June 2008 11:06:55 am

Hi Pierre,

Did you clear the ini and dynamic tree cache?

http://www.linkedin.com/in/ivolukac
http://www.netgen.hr/eng/blog
http://twitter.com/ilukac

pierre oOo

Friday 27 June 2008 7:08:31 am

hi, thank for your reply.

I did ! I always clear the caches !

I also erased all my var/ directory to see what's happened..
It was an error, I lost all my images...

I think there's another file to modify, but which one and where ???

I tested also, which is not recommended, to write into contentstructuremenu.ini in "settings/"
directory...
i wrote the same code in the "ShowClasses[]" attributes. (like my first message)

May be this is a template problem ?

....

Ivo Lukac

Friday 27 June 2008 9:22:51 am

When you have such problems first you must see what eZ sees. Go to Setup->Ini settings, choose contentstructuremenu.ini file and your admin siteaccess. Clicking on "Select" button you will get ini settings which are used.

If copy_of_frontpage is there then the problem is with some cache, if not you didn't set it right.

Greetz

ps.
try to disable Dynamic value and see what happens

http://www.linkedin.com/in/ivolukac
http://www.netgen.hr/eng/blog
http://twitter.com/ilukac

pierre oOo

Wednesday 02 July 2008 7:02:43 am

Hi,

It's Ok now,

in the admin interface, there wasn't copy_of_frontpage in content of contentstructure.ini .
But it was in the file !

I just made a simple modification in contentstructure.ini from the admin interface, and everthing were there again !
It was just a cache problem...

Many thanks for yours answers..

see you.
Pierre