How to provide a link to external URL on the top Menu Bar?

Get help from other users here.

Moderators: Developer, Contributor

Post Reply
spacomp
Posts: 14
Joined: 17 Jan 2012, 13:20

How to provide a link to external URL on the top Menu Bar?

Post by spacomp »

We have a requirement as to provide a link to external URL, so that when user want to migrate to other website he can just click on the menu item with hyperlink being enabled.

This is very trivial, but will be of great use.
atrol
Site Admin
Posts: 8366
Joined: 26 Mar 2008, 21:37
Location: Germany

Re: How to provide a link to external URL on the top Menu Ba

Post by atrol »

Can't test at the moment, but adding the following lines to config_inc.php and adjusting to your needs should work.

Code: Select all

$g_main_menu_custom_options = array( array( 'My Link to MantisBT', VIEWER, 'http://www.mantisbt.org' ),);
Please use Search before posting and read the Manual
Post Reply