Jake Bunce
Well-known member
This will create a simple tab link in the navbar. No popup or submenu. Here is a picture of what it looks like (in this example the user wanted a link for Account Upgrades):
Edit this template:
Admin CP -> Appearance -> Templates -> navigation
Add the red code, and change the blue parts appropriately:
While you can 'hard code' the LINK and TAB LABEL, ideally you should use xen:link and xen:phrase. For example, here is the proper code for the Account Upgrades picture above:
Edit this template:
Admin CP -> Appearance -> Templates -> navigation
Add the red code, and change the blue parts appropriately:
Rich (BB code):
<li><a href="{xen:link 'find-new/threads'}">{xen:phrase whats_new}</a></li>
</ul>
</div>
</li>
</xen:if>
<!-- mytab -->
<li class="navTab PopupClosed"><a href="LINK" class="navLink">TAB LABEL</a></li>
<!-- extra tabs -->
<xen:if is="{$extraTabs}">
<xen:foreach loop="$extraTabs" key="$extraTabId" value="$extraTab">
<xen:if is="{$extraTab.linksTemplate}">
While you can 'hard code' the LINK and TAB LABEL, ideally you should use xen:link and xen:phrase. For example, here is the proper code for the Account Upgrades picture above:
Rich (BB code):
<!-- mytab -->
<li class="navTab PopupClosed"><a href="{xen:link account/upgrades}" class="navLink">{xen:phrase account_upgrades}</a></li>