Forums / Developer / My class in Admin content structure menu

My class in Admin content structure menu

Author Message

Ivan Švogor

Friday 26 November 2010 1:35:32 am

Hello...

I've created a custom class, added it to contentstructuremenu.ini.append.php and to menu.ini.append.php but it doesn't show... Am I missing something?

Romeo Antony

Friday 26 November 2010 2:02:13 am

Ivan,

probably you have missed something.

Seems to be overriding issue.

Check the configaration priority order

setting=>siteaccesssetting=>oveeride

If you have made chages to configuarion files in root settings directory, is will be overriden by siteaccesssetting followed by override config files.

So make sure that you do configuarion settigs is done in siteaccesssetting.(for contentstructuremenu.ini.append.php and to menu.ini.append.php)

Second thing is

for insctace , in contentstructuremenu.ini.append.php, if you have seeting like

[TreeMenu]

ShowClasses[]
ShowClasses[]=folder

that means , all the setting with respect to contentstructuremenu.ini.append.php in extensions , will be considered .If you have any shows classes array in extensions contentstructuremenu.ini.append.php, it will be also added.

Otherwise ,if the configuration like as follows

[TreeMenu]

ShowClasses[]=folder

Only this configuarion files will be considred ,bez it will not take any previous array values.(since u didn't put ShowClasses[],only class folder will be der)

So please check both conditions.

Nicolas Pastorino

Monday 29 November 2010 1:31:25 am

Hi Ivan,

Could you get any further, helped by Romeo ?
Have you cleared the Back office's cache ?

Cheers,

--
Nicolas Pastorino
Director Community - eZ
Member of the Community Project Board

eZ Publish Community on twitter: http://twitter.com/ezcommunity

t : http://twitter.com/jeanvoye
G+ : http://plus.tl/jeanvoye