Removing main menu links

Post about your customizations to share with others.

Moderators: Developer, Contributor

Post Reply
Malenfant
Posts: 1
Joined: 17 Nov 2006, 12:11

Removing main menu links

Post by Malenfant »

Is it possible to simplify the main menu for reporters? I want to whittle it down to just View Issues, Report Issue and Logout. Other users such as developers would ideally still have all the options available but at the moment some of my users are finding it all a bit too complex.
Mr.J!M
Posts: 21
Joined: 11 Dec 2006, 17:43

Post by Mr.J!M »

have you find a solution?
i am interested to :/

I would like to remove "changelog" "home" "roadmap"
i have found how to remove wiki but not the others :'(
Mr.J!M
Posts: 21
Joined: 11 Dec 2006, 17:43

Post by Mr.J!M »

i have remove the translated word in my French.txt

$s_changelog_link = '';
$s_main_link = '';
$s_edit_news_link = '';
$s_roadmap_link = '';

it sucks but it works ;)
Mr.J!M
Posts: 21
Joined: 11 Dec 2006, 17:43

Post by Mr.J!M »

in HTML_API.php in core folder you will find:

# --------------------
# Print the main menu

on line ~469

you can remove

# Main Page
$t_menu_options[] = '<a href="main_page.php">' . lang_get( 'main_link' ) . '</a>';

etc...
vboctor
Site Admin
Posts: 1293
Joined: 13 Feb 2005, 22:11
Location: Redmond, Washington
Contact:

Post by vboctor »

Did you try setting the following options:

Code: Select all

# threshold for viewing changelog
$g_view_changelog_threshold = NOBODY;

# threshold for viewing roadmap
$g_roadmap_view_threshold = NOBODY;

# Wiki Integration Enabled?
$g_wiki_enable = OFF;
Regards,
Victor
Migrate your MantisBT to the MantisHub Cloud
Mr.J!M
Posts: 21
Joined: 11 Dec 2006, 17:43

Post by Mr.J!M »

Yes i do that but i would like also to remove "myview" and "Home"
Post Reply