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

Unmaintained How to add a custom Tab

Custom tabs OMG

  1. AppleJack

    AppleJack New Member

    Ever want your user upgrades to have their own tab? well look no futher.

    You will need to go
    Admin Cp --> Appearance --> style --> Your Skin-->Templates

    Once your in templates go to "navigation"
    Search for this once your in navigation

    <!-- extra tabs: end -->
            <xen:if is="{$extraTabs.end}">
            <xen:foreach loop="$extraTabs.end" key="$extraTabId" value="$extraTab">
                <xen:if is="{$extraTab.linksTemplate}">
                    <li class="navTab {$extraTabId} {xen:if $extraTab.selected, 'selected', 'Popup PopupControl PopupClosed'}">

    Right above it add this code

    <li class="navTab PopupClosed"><a href="{xen:link account/upgrades}" class="navLink">Premium</a></li>
    and boom your own tab for user upgrades
    kenaston and Gabby like this.
  2. Floris

    Floris Guest

    Your bbcode got a bit messed up oops.
  3. jt2011

    jt2011 Active Member

    how do you get your tab to be selected when you are on the page of the tab?

    I tried this but it doesn't work
    <li class="navTab  {xen:if $articles.selected, 'selected', 'PopupClosed'}"><a href="{xen:link articles}" class="navLink">Articles</a></li>
    When I click the tab it takes me to the articles page but the tab is not selected
  4. ragtek

    ragtek Guest

    a xenforo node page? ttp://xenforo.com/community/resources/nodes-as-tabs.9/

    if it's a something else, you need a own route and a plugin for this
    jt2011 likes this.
  5. jt2011

    jt2011 Active Member

    thank you!
    nodesastabs is exactly what I needed

  6. Trev805

    Trev805 Member

    Is there a way to make this extra tab just a simple link to my blog? Or perhaps having it open in a new tab?
  7. Rasteri

    Rasteri Member

    I wonder if there is way to do more user group tabs (for no upgraded users), please contact me if someone can help!

Share This Page