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

XF 1.3 Control position of navigation tabs

Discussion in 'Styling and Customization Questions' started by Mr Lucky, Jun 23, 2014.

  1. Mr Lucky

    Mr Lucky Well-Known Member

    I need to find how to make a tab appear after Home, but before Forums. This is for xenzine and I have the option Home, Middle and End. Home places it before the Home tab, and Middle places it after the froums tab, so how would I get it between the Home and Forums?

    Thanks
     
  2. Brogan

    Brogan XenForo Moderator Staff Member

    You will have to ask in the add-on thread as it depends how it has been added.
     
  3. Mr Lucky

    Mr Lucky Well-Known Member

    My question is's more about how xenforo handles any extra tab. The tab is added into the default extra tabs position so is not specifically an addon question.

    e.g. there are positions in the navigation template <!-- extra tabs: home --> and <!-- extra tabs: middle -->

    Code:
    <!-- home -->
            <xen:if is="{$showHomeLink}">
                <li class="navTab home PopupClosed"><a href="{$homeLink}" class="navLink">{xen:phrase home}</a></li>
            </xen:if>
          
          
            <!-- extra tabs: home -->
    <xen:if is="{$extraTabs.home}">
    The <!-- extra tabs: home --> position appears in the list in template after the actual home link, so i would have thought if I use that, then my extra tab should appear after the Home link which is what I want, however it is appearing before.
     

Share This Page