gmaister22 Active member Jan 5, 2011 #1 How can i create a new page to the navbar which will be for my IRC code only? :S
Paul B XenForo moderator Staff member Jan 5, 2011 #2 Do you mean a page or a tab? This is how to add a tab: http://xenforo.com/community/threads/how-to-add-a-new-tab-in-the-navbar.7781/ This is how to create a Page: http://xenforo.com/community/threads/how-to-create-a-page-node.9510/ Upvote 0 Downvote
Do you mean a page or a tab? This is how to add a tab: http://xenforo.com/community/threads/how-to-add-a-new-tab-in-the-navbar.7781/ This is how to create a Page: http://xenforo.com/community/threads/how-to-create-a-page-node.9510/
gmaister22 Active member Jan 5, 2011 #4 Ok i created both a tab and a page, though i want the tab not to be visible to visitors and unregistered people :S Upvote 0 Downvote
Ok i created both a tab and a page, though i want the tab not to be visible to visitors and unregistered people :S
Paul B XenForo moderator Staff member Jan 5, 2011 #5 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. Upvote 0 Downvote
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.