florencia Active member Mar 14, 2014 #1 which template is the top navigation bar where forum, members, etc are located? I need to add an external link in there. Thanks.
which template is the top navigation bar where forum, members, etc are located? I need to add an external link in there. Thanks.
P Paul B XenForo moderator Staff member Mar 14, 2014 #2 Edit the navigation template. Upvote 0 Downvote
florencia Active member Mar 14, 2014 #3 Looks difficult to edit, where and how do I add an external link (www.external.com) in the code so that its position after the other links forums, resources, etc Upvote 0 Downvote
Looks difficult to edit, where and how do I add an external link (www.external.com) in the code so that its position after the other links forums, resources, etc
P Paul B XenForo moderator Staff member Mar 14, 2014 #4 Copy the HTML and CSS of an existing link, adapting it to suit. Upvote 0 Downvote
florencia Active member Mar 14, 2014 #5 Like this? should I put the xen if? <!-- external links --> <xen:if is="{$tabs.extrenallinks}"> <li class="navTab members {xen:if $tabs.members.selected, 'Popup PopupControl PopupClosed slee', 'Popup PopupControl PopupClosed'}"> <a href="http://www.external.com" class="navLink accountPopup NoPopupGadget" rel="Menu">external link</a> </li> </xen:if> Upvote 0 Downvote
Like this? should I put the xen if? <!-- external links --> <xen:if is="{$tabs.extrenallinks}"> <li class="navTab members {xen:if $tabs.members.selected, 'Popup PopupControl PopupClosed slee', 'Popup PopupControl PopupClosed'}"> <a href="http://www.external.com" class="navLink accountPopup NoPopupGadget" rel="Menu">external link</a> </li> </xen:if>
P Paul B XenForo moderator Staff member Mar 14, 2014 #6 The conditional statement does not apply to your custom tab link. Upvote 0 Downvote
florencia Active member Mar 14, 2014 #7 so just like this? the class navTab is ok or should I use another class? <!-- external links --> <li class="navTab members"> <a href="http://www.external.com" class="navLink accountPopup NoPopupGadget" rel="Menu">external link</a> </li> Upvote 0 Downvote
so just like this? the class navTab is ok or should I use another class? <!-- external links --> <li class="navTab members"> <a href="http://www.external.com" class="navLink accountPopup NoPopupGadget" rel="Menu">external link</a> </li>