How to modified menu at $t_menu_options[] ??

Post about your customizations to share with others.

Moderators: Developer, Contributor

Post Reply
batFreak
Posts: 1
Joined: 21 Aug 2007, 11:44
Contact:

How to modified menu at $t_menu_options[] ??

Post by batFreak »

Hi Guys,

It's my first time posting.. Im newbie using mantis 1.1.0a4 javascript:emoticon(':)')
Smile

I would like ask guidance to modified main menu (main, my view, ..., doc, manage, Logout) which is displayed at first time we log in to mantis main page.

I would like to add some new menu and also want to remove(or make it invisible) to displayed. example: i would like to add menu "Testing" or what ever which is the content/functionality of menu "Testing" is same as "My View" menu.

Which file's i should modified or what things i should do ?? I know it modification, exactly related with html_api.php file but i stuck on that file. i dont know the link of parameter $t_menu_options[] to which file or function.

below example of script that i would like to modified on it.

exist script.
# View Bugs
$t_menu_options[] = '<a href="view_all_bug_page.php">' . lang_get( 'view_bugs_link' ) . '</a>';

and then i would like to add new menu "Testing",

# Testing
$t_menu_options[] = '<a href="testing.php">' . lang_get( 'testing_link' ) . '</a>'; #it wont displayed.


Please give me light...
and plz apologize for my bad english...
Thanks,
batFreak
Post Reply