Project

General

Profile

How do I remove the Menu under Projects ?

Added by Alvin Huang over 6 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


Replies (1)

RE: How do I remove the Menu under Projects ? - Added by Bernhard Rohloff over 6 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.

    (1-1/1)