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

Navbar edit help

Discussion in 'XenForo Questions and Support' started by Kaiser, Nov 21, 2010.

  1. Kaiser

    Kaiser Well-Known Member

  2. Brogan

    Brogan XenForo Moderator Staff Member

    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>
     
    Terrorz likes this.
  3. Floris

    Floris Guest

    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
     
  4. Brogan

    Brogan XenForo Moderator Staff Member

    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>
     
    Terrorz likes this.
  5. Floris

    Floris Guest

    okidoki :)
     
  6. Jake Bunce

    Jake Bunce XenForo Moderator Staff Member

    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>
    
     
    Brogan and Floris like this.
  7. Floris

    Floris Guest

    That's what I was referring to yeah :)
     
  8. Brogan

    Brogan XenForo Moderator Staff Member

    I completely missed that thread Jake.
    Thanks for the heads up and correction :)
     
  9. Kaiser

    Kaiser Well-Known Member

    Thanks thats why it didnt work I guess.
     
  10. Brogan

    Brogan XenForo Moderator Staff Member

Share This Page