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

remove help from Navbar into footer / move username from to help-position

Discussion in 'XenForo Questions and Support' started by erich37, Mar 26, 2011.

  1. erich37

    erich37 Well-Known Member

    I am wondering how to remove the "Help" section from the Navbar and put it into the footer.

    Then putting the Username (which is the drop-down at the top-right) into the position where we have the Help-section.

    I am wondering how this would look like and whether this would give a better understanding for the user to navigate XenForo ?

    I think having the "Help"-Tab is not so important to have it prominently sitting in the Navbar.....
  2. James

    James Well-Known Member

    This is what it'll look like:

    erich37 likes this.
  3. erich37

    erich37 Well-Known Member

    looks much better to me than the default positions.......
  4. James

    James Well-Known Member

    I think the problem, as outlined by the source code, is that by having the user drop-down in that position it's mixing up the user-specific stuff and the public stuff.

    Left tabs - all public tabs, viewable by guests and members
    Right tabs - private tabs, viewable only by logged-in users
  5. ragtek

    ragtek Guest

    hm, not all left tabs are always public..
    The right side includes IMHO the "private stuff" (user related stuff), but i like the idea of moving the help to footer. (as you see on the screenshot, i've removed it completely for me because it's unnecessary)

    To remove the help tab in the navi:
    open template navigation
    add at top:
    <xen:set var="$tabs.help">0</xen:set>
    (does anybody know, if it woult be possible to do this with an code event?)

    To add it to the footer:
    Use the template hook footer_links or footer_links_legal to add it without any template changes
    erich37 likes this.
  6. Forsaken

    Forsaken Well-Known Member

    I completely moved the visitor tabs to make room for more navTabs.
  7. ajnos

    ajnos Member

  8. Forsaken

    Forsaken Well-Known Member

    Edited logo_block:

    <xen:if is="{$visitor.user_id}">
    <link rel="xenforo_template" type="text/html" href="navigation_visitor_tab.html" />
    <xen:else />
    <div style="height:27px;">&nbsp;</div>
    And then rewrote navigation_visitor_tab.

    Ignore the else statement, its there for something else later on.
    ragtek likes this.
  9. James

    James Well-Known Member

    The add-ons is a custom tab by yourself. In the default XF install, all of the tabs on the left are public and that's the point I was making ;)
  10. erich37

    erich37 Well-Known Member

    how do I move the "Help"-Tab into the footer ?

    So that the "Smilies" and "BB Code" and "Trophies" will still be accessible ?
  11. Brogan

    Brogan XenForo Moderator Staff Member

    You will have to replicate the nav bar code to get the dropdown menu working there.

    I'm not sure it will work particularly well though.

    You would be better off just having standard links.
  12. erich37

    erich37 Well-Known Member

    is it possible to link from the footer to this page:


    and have the sub-sections "Smilies", "BB-Code" and "Trophies" still working ?

    No need for the drop-down as such.....

    But I am not sure whether this will work when switching the languages as I do have several languages installed..... ?
  13. Brogan

    Brogan XenForo Moderator Staff Member

    The help sections are part of the help page so just having a single link to the main help page is fine.

    You don't need individual links to each section, removing them won't remove those sections.

    The Terms and Rules link in the bottom right hand corner for example is a single link to a section of the help page.
    erich37 likes this.
  14. erich37

    erich37 Well-Known Member

    many thanks Brogan!

    do you know what is the best way to replace the "Terms and Rules" link in the footer with the main "Help" link ?
    With main "Help" link I mean this: http://xenforo.com/community/help/

    This would be the best solution for me, as the "Terms and Rules" is anyway already included in the main "Help" link.

    But I would need it working that way, so when you switch from one language into another, that it still works.....
  15. Brogan

    Brogan XenForo Moderator Staff Member

    Open the footer template and replace this:
    <xen:if is="{$tosUrl}"><li><a href="{$tosUrl}">{xen:phrase terms_and_rules}</a></li></xen:if>
    With this:
    <li><a href="{xen:link 'help/'}">{xen:phrase help}</a></li>
    erich37 likes this.
  16. erich37

    erich37 Well-Known Member


    does anybody know how to change the position of the "Account Tab" to the position where we have the "Help Tab" by default?
    And also change the way the drop-down is displayed (so that the drop-down-box opens to the right hand side) ?

    Probably also moving the Tabs "Inbox" and "Alerts" from right to the left would be great to know how to do this.
  17. erich37

    erich37 Well-Known Member

    this hack does not work, as it removes the subnav-bar, meaning the style of the subnav-bar disappears when going to the URL "domain.com/help" in the footer.
  18. Kier

    Kier XenForo Developer Staff Member

    There's really no simple way to do this, you're talking about a serious and extensive template modification - I'd suggest that this is something best approached with a complete custom style.
  19. erich37

    erich37 Well-Known Member

    hmmm... did not think moving a few tabs from right to left is a serious modification.
    I will leave it as it is by default, am too afraid of breaking anything.

    Thanks for your feedback!
  20. James

    James Well-Known Member


    Create a child style of your current style and play around with the navigation template to create what you wish. Don't be afraid of getting your handy dirty - that's why the revert function was invented!
    Brogan likes this.

Share This Page