Remove Unneeded Main Menu Items

Get help from other users here.

Moderators: Developer, Contributor

Post Reply
evenmoreconfused
Posts: 5
Joined: 19 Dec 2022, 14:58

Remove Unneeded Main Menu Items

Post by evenmoreconfused »

How can I remove some unneeded items from (what the Admin Guide calls) the Main Menu?

I want to remove the Change Log and the Roadmap from the buttons on the left. I can see (in section 5.21 of the Guide) how to add more items using $g_main_menu_custom_options, but I don't see anything about how to remove the existing ones short of modifying the base code (which I'm loathe to do because of having to repeat it with every new release).

Thanks for all help,
Paul

PS: there seems to be a whole sub-section missing in the manual describing this "Main Menu" (I would call them page selector buttons). I guess this is because its organization is page-based, and since this menu is always present, there's no subsection for it. It has 6.1 Login page, 6.2 Main page (which doesn't ever appear here), and 6.3 View Issues Page, but none of them describe the "Main Menu" buttons. Admittedly, their function is pretty obvious, but if one's going to exhaustively describe every element, these should be there too.
cas
Posts: 1650
Joined: 11 Mar 2006, 16:08
Contact:

Re: Remove Unneeded Main Menu Items

Post by cas »

add in config/config_inc.php:
$g_roadmap_view_threshold = NOBODY;
$g_view_changelog_threshold = NOBODY;
evenmoreconfused
Posts: 5
Joined: 19 Dec 2022, 14:58

Re: Remove Unneeded Main Menu Items

Post by evenmoreconfused »

Thank you, works perfectly!
Post Reply