MyBB Community Forums

Full Version: Add text to home page navigation link ?
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
How to add text to home page navigation link, like 'xxx(add text) / xxx / xxx' without changing acp 'Board Name' ?
Open global.php and find:

$navbits[0]['name'] = $mybb->settings['bbname_orig'];

Change $mybb->settings['bbname_orig'] to whatever you want Wink
Thanks for the reply.
Edited global.php...
$navbits[0]['name'] = click here for return to main menu from other pages;
...and homepage went blank. Confused
Code fix ?

(2014-05-28, 05:05 PM)marcus123 Wrote: [ -> ]Open global.php and find:
$navbits[0]['name'] = $mybb->settings['bbname_orig'];
Change $mybb->settings['bbname_orig'] to whatever you want Wink
Strange because it works for all people. Use Notepad++ or Dreamweaver for PHP editing!
Yes, am using Notepad++.

// Add our main parts to the navigation
$navbits = array();
$navbits[0]['name'] = click here for return to main menu from other pages;
$navbits[0]['url'] = $mybb->settings['bburl']."/index.php";

(2014-05-29, 08:49 PM)marcus123 Wrote: [ -> ]Strange because it works for all people. Use Notepad++ or Dreamweaver for PHP editing!
You need to put the string click here... in quotation marks.
Thanks much !
Used...
$navbits[0]['name'] = "<font size=4>SCN Forums</font> (click here for return to main menu from other pages)";
...and worked fine.
Thanks again to both of you.

(2014-05-29, 09:17 PM)dragonexpert Wrote: [ -> ]You need to put the string click here... in quotation marks.