MyBB Central

Full Version: Adding a new nav.
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
I am currently using this theme, http://mods.mybboard.net/view/majestic, and I was wondering if anyone know how to add a new nav button at the top? I checked the XML file, and I found some parts, but I am not sure how to add a new button up there. Any help will be greatly appreciated. Thank you.
Templates in the admincp....
I went there before, and opened up Navigation, but I can't find anything.
Go to AdminCP--> Templates & Style--> Templates--> Go to your theme templates--> Expand Header--> Edit header and you will see the navigation. There just copy paste one of the buttons and edit to what you want it.
I found this, "<li><a href="{$mybb->settings['bburl']}/search.php"><span>{$lang->toplinks_search}</span></a></li>", do I change the toplinks_search to the name?
change:
{$mybb->settings['bburl']}/search.php
to the url you want.
and
{$lang->toplinks_search}
with the title/name.
Thanks, it worked.
LOl i have done this so many times if you want to add another link/thingy copy the code you posted a both and post it under the one you want it to be behind.