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

XF 1.1 How do I create Custom Sub-Navigation Tabs

Discussion in 'Styling and Customization Questions' started by WingsLDK, Jul 8, 2013.

  1. WingsLDK

    WingsLDK New Member

    Hey I really need help with something. I got an addon that displays the staff members on a custom page on the website. It is normally set as a navigation tab, yet I would like to make it a Sub-Navigation tab under the Forums tab. I don't know how to do this, but I know it is possible. This example is with the exact addon and tab I am trying to do it with:
    Capture.PNG
     
  2. Jake Bunce

    Jake Bunce XenForo Moderator Staff Member

    You can use this addon to change tab assignments of existing pages using link-forums:

    http://xenforo.com/community/resources/nodes-as-tabs.9/

    First enable tab selection for link-forums:

    Admin CP -> Home -> Nodes As Tabs -> Enable Tab Selection For Link-forums

    Then create a link-forum that points to the page in question.

    Then assign that link-forum to an existing tab id (in your case it would be forums) as shown here:

    http://xenforo.com/community/resources/nodes-as-tabs.9/update?update=1441

    The link-forum itself would be hidden from the node list. You are just using it to manipulate tab assignments. It's a little indirect but it works. The alternative is to create a separate addon specifically for this purpose, or modify the route file for that page similar to this:

    http://xenforo.com/community/thread...which-default-to-forum-tab.30502/#post-352357
     
  3. WingsLDK

    WingsLDK New Member

    Can you please be a bit clearer? How am I supposed to assign it to a tab? Also, how do I create the link forum? Will this give me the same result as the picture? You answered none of my questions.
     
  4. Tracy Perry

    Tracy Perry Well-Known Member

    Yes, he answered your questions - but to get total details might take a little research referred to as reading the discussion thread attached to the add-on. Normally you will get the detailed information in there that you are asking about. There are fully 22 pages of discussion in reference to that add-on, so I'm sure that more detailed support will be found there. @Jake Bunce is the author of that resource - so I'm sure if he says it will do what you are needing it to do then it will.
     
  5. WingsLDK

    WingsLDK New Member

    Actually, my version of the addon was broken, so I reinstalled it. But, when I do everything you told me, it still doesn't show up in the sub-nav of the Forums tab
     
  6. Jake Bunce

    Jake Bunce XenForo Moderator Staff Member

Share This Page