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

XF 1.2 how can i get the help back in the navigation bar

Discussion in 'XenForo Questions and Support' started by Cees50, Aug 22, 2013.

  1. Cees50

    Cees50 Active Member

    I searched the forum, and i find things how to get rid of the help tab, but not with the whole code. So my question is Which code do i use to get the help tab back in the navigation?
     
  2. Brogan

    Brogan XenForo Moderator Staff Member

    You can edit the navigation template and add the code from the footer template.
     
  3. Cees50

    Cees50 Active Member

    I found this in the footer template


    Code:
    <li><a href="{xen:link help}">{xen:phrase help}</a></li>
                 
    I tried to place that in the navigation template, but i only get strange results, it messed up the nav bar. Where should i place that so it shows up at the end? (i'm no coder, trying to)
     
  4. Brogan

    Brogan XenForo Moderator Staff Member

    Try this:
    Code:
    <!-- help -->
    <li class="navTab help Popup PopupControl PopupClosed">
    
        <a href="{$tabs.help.href}" class="navLink" rel="help">{$tabs.help.title}</a>
        <a href="{$tabs.help.href}" class="SplitCtrl" rel="Menu"></a>
      
        <div class="Menu JsOnly tabMenu helpTabLinks">
            <div class="primaryContent menuHeader">
                <h3>{$tabs.help.title}</h3>
                <div class="muted">{xen:phrase quick_links}</div>
            </div>
            <ul class="secondaryContent blockLinksList">
            <xen:hook name="navigation_tabs_help">
                <li><a href="{xen:link help/smilies}">{xen:phrase smilies}</a></li>
                <li><a href="{xen:link help/bb-codes}">{xen:phrase bb_codes}</a></li>
                <li><a href="{xen:link help/trophies}">{xen:phrase trophies}</a></li>
                <li><a href="{xen:link help/cookies}">{xen:phrase cookie_usage}</a></li>
                <xen:if is="{$tosUrl}"><li><a href="{$tosUrl}">{xen:phrase terms_and_rules}</a></li></xen:if>
            </xen:hook>
            </ul>
        </div>
    </li>
    Add it after the <!-- members --> block.
     
  5. Cees50

    Cees50 Active Member

    Thanks Brogan. Works great!
     

Share This Page