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

Create New Page

Discussion in 'XenForo Questions and Support' started by gmaister22, Jan 5, 2011.

  1. gmaister22

    gmaister22 Active Member

    How can i create a new page to the navbar which will be for my IRC code only? :S
     
  2. Brogan

    Brogan XenForo Moderator Staff Member

  3. gmaister22

    gmaister22 Active Member

    thanks ^^
     
  4. gmaister22

    gmaister22 Active Member

    Ok i created both a tab and a page, though i want the tab not to be visible to visitors and unregistered people :S
     
  5. Brogan

    Brogan XenForo Moderator Staff Member

    You can use a conditional for that: <xen:if is="{$visitor.user_id}">

    For example:
    Code:
    <xen:if is="{$visitor.user_id}">
    <li class="navTab PopupClosed"><a href="{xen:link account/upgrades}" class="navLink">{xen:phrase account_upgrades}</a></li>
    </xen:if>
    That adds a link to the navigation bar for the account upgrades page, which is only visible when logged in.
     
  6. gmaister22

    gmaister22 Active Member

    Thanks buddy!
     

Share This Page