eZ Community » Forums » Setup & design » Remove feedback_form from topmenu
expandshrink

Remove feedback_form from topmenu

Remove feedback_form from topmenu

Tuesday 06 November 2012 4:14:54 pm - 2 replies

Hello Everyone,

I'am trying to remove the class feedback_form from the top menu, but this configuration is default in the file /settings/menu.ini.

I've tried to create a file menu.ini.append.php in my extension without the feedback_form on the top menu, but since it is declared on the default menu.ini my override doesen't work.

Anyone knows how to solve this without editing the menu.ini?

Very appreciate.

Regards.

Wednesday 07 November 2012 10:33:12 am

a menu.ini.append.php file in an extension is the correct way to go.

To make it work you just have to know that since the setting you are editing is an array, to remove one value from it means you will have to reset the array and re-add all other values.

eg:

[MenuContentSettings]
TopIdentifierList[]
TopIdentifierList[]=folder
TopIdentifierList[]=gallery
TopIdentifierList[]=forum

Wednesday 07 November 2012 5:12:23 pm

Thak you it works. I forgot to reset the array with the TopIdentifierList[].Good catch.

Regards.

expandshrink

You must be logged in to post messages in this topic!

36 542 Users on board!

Forums menu

Proudly Developed with from