• This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn more.

Navbar edit help

Brogan

XenForo moderator
Staff member
#2
Open the navigation template.

Find:
HTML:
        <!-- members -->
Above that add:
HTML:
<li class="navTab PopupClosed"><a href="http://adminbb.info/index.php?account/upgrades" class="navLink">Sponsor Us</a></li>
 
F

Floris

Guest
#3
Open the navigation template.

Find:
HTML:
        <!-- members -->
Above that add:
HTML:
<li class="navTab PopupClosed"><a href="http://adminbb.info/index.php?account/upgrades" class="navLink">Sponsor Us</a></li>
Why not use the right xenforo way of linking, so it's valid for all urls? And handy for users to copy/paste.

link account/upgrades
 

Brogan

XenForo moderator
Staff member
#4
Why not use the right xenforo way of linking, so it's valid for all urls? And handy for users to copy/paste.

link account/upgrades
I just used his code as he posted it.
But yes, you're correct in that the code would be better off as:
HTML:
<li class="navTab PopupClosed"><a href="account/upgrades" class="navLink">Account Upgrades</a></li>
 

Jake Bunce

XenForo moderator
Staff member
#6
Why not use the right xenforo way of linking, so it's valid for all urls? And handy for users to copy/paste.

link account/upgrades
This guide has the proper code for that which uses xen:link and xen:phrase.

Code:
		<!-- mytab -->
		<li class="navTab PopupClosed"><a href="{xen:link account/upgrades}" class="navLink">{xen:phrase account_upgrades}</a></li>
 

Kaiser

Well-known member
#9
I just used his code as he posted it.
But yes, you're correct in that the code would be better off as:
HTML:
<li class="navTab PopupClosed"><a href="account/upgrades" class="navLink">Account Upgrades</a></li>
Thanks thats why it didnt work I guess.