How do I remove the Menu under Projects ?
Added by Alvin Huang about 7 years ago
Please help:
When I chick "Projects" on the top menu, I always got menu list like attachment(redminehelp.png).
How do I remove the Menu under Projects ?
Thanks.
PS.
Redmine version 3.4.3.stable¶
Installed Plugins:¶
Additionals https://github.com/alphanodes/additionals¶
Msproject Import plugin https://github.com/braini75/msproject_import.git¶
Redmine Checklists plugin (Light version) https://www.redmineup.com/pages/plugins/checklists¶
Redmine CKEditor plugin http://github.com/a-ono/redmine_ckeditor¶
DMSF http://www.redmine.org/plugins/dmsf¶
redminehelp.png (23.6 KB) redminehelp.png |
Replies (1)
RE: How do I remove the Menu under Projects ? - Added by Bernhard Rohloff about 7 years ago
The best way to get rid of the menu is to delete its entries in a custom plugin.
You can remove the menu items in your plugins init.rb file like this:
delete_menu_item :application_menu, :calendar
You can find the menu items in source:trunk/lib/redmine.rb#L203.
I started something similar a few days ago in a different plugin.
Maybe you can checkout my plugin and use it as boilerplate.