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.
Remove Unneeded Main Menu Items
Moderators: Developer, Contributor
Re: Remove Unneeded Main Menu Items
add in config/config_inc.php:
$g_roadmap_view_threshold = NOBODY;
$g_view_changelog_threshold = NOBODY;
$g_roadmap_view_threshold = NOBODY;
$g_view_changelog_threshold = NOBODY;
-
- Posts: 2
- Joined: 19 Dec 2022, 14:58
Re: Remove Unneeded Main Menu Items
Thank you, works perfectly!