MyBB Community Forums

Full Version: Navigation how do I change the first link
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hi All
The mybb navigation such as
MyBB Community Forums / MyBB 1.6 Forums / MyBB 1.6 General Support /Topic
has the default of index.php as the first link (in this case "MyBB Community Forums") is there a way of editing the link to point to another file ?
Global.php file and go to this line:

// Add our main parts to the navigation
$navbits = array();
$navbits[0]['name'] = $mybb->settings['bbname_orig'];
$navbits[0]['url'] = $mybb->settings['bburl']."/index.php";

And change it to something like this:

// Add our main parts to the navigation
$navbits = array();
$navbits[0]['name'] =  "page name";
$navbits[0]['url'] = " path to file / url link ";
$navbits[1]['name'] = $mybb->settings['bbname_orig'];
$navbits[1]['url'] = $mybb->settings['bburl']."/index.php";
(2012-06-07, 05:43 PM)anori Wrote: [ -> ]Global.php file and go to this line:

// Add our main parts to the navigation
$navbits = array();
$navbits[0]['name'] = $mybb->settings['bbname_orig'];
$navbits[0]['url'] = $mybb->settings['bburl']."/index.php";

And change it to something like this:

// Add our main parts to the navigation
$navbits = array();
$navbits[0]['name'] =  "page name";
$navbits[0]['url'] = " path to file / url link ";
$navbits[1]['name'] = $mybb->settings['bbname_orig'];
$navbits[1]['url'] = $mybb->settings['bburl']."/index.php";

Thanks for that worked great just needed an edit to the renamed index.php to produce its breadcrumb and portal.php not to Big Grin