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

How to hide a sub-sub-forum?

Discussion in 'XenForo Questions and Support' started by Richey, Apr 19, 2011.

  1. Richey

    Richey Member

    Hey guys,

    Let's say I have the following structure:

    Category A
    - Forum
    - - Subforum 1
    - - - Subofurm 2

    When I go to Forum, by default I see Subforum 1 AND Subforum 2.
    But I don't want that. I only want to see Subforum 2 when I goto Subforum 1.

    So, how can I hide Subforum 2 when I visit Forum

    Best regards,
    JVCode likes this.
  2. Brogan

    Brogan XenForo Moderator Staff Member

    Moved to general support from template modifications.

    This is something I raised a while ago, unfortunately it's how it works.

    I think Mike posted some edits a while ago but I can't locate the post.

    I've resorted to using categories to stop them from appearing.
  3. JVCode

    JVCode Well-Known Member

    I'd also like to do this, anyone know where those edits Mike posted are located?
  4. Jake Bunce

    Jake Bunce XenForo Moderator Staff Member

    When I test this on 1.0.4 and 1.1.0 the second subforum shows only inside of the Sub-Forums popup:

    Screen shot 2011-10-10 at 1.27.58 PM.png

    This is the default behavior yet the OP seems to be describing a different behavior. Maybe it changed in the last 6 months. Do you want something different than this?
  5. Brogan

    Brogan XenForo Moderator Staff Member

    If you have Sub3 which is a sub forum of Sub2, they will both show in the dropdown and when clicking into the Sub1 forum.
  6. Jake Bunce

    Jake Bunce XenForo Moderator Staff Member

    So he doesn't want this?

    Screen shot 2011-10-10 at 1.40.10 PM.png

    You can completely hide the sub-forum menu by adding this to EXTRA.css:

    .nodeList .subForumsPopup
    	display: none;
    Let me know if you want something different.
    EvilSS likes this.
  7. Brogan

    Brogan XenForo Moderator Staff Member

    I could be wrong but I believe he wants only the first child to show, not to remove them altogether.
    Live Free likes this.
  8. Aletta

    Aletta Member

    I have tried adding this to our forum to hide the child nodes from the main forum page. However, it does not work, infact it does not do anything.

    I want to make sure that sub-forums are never shown on the main page as it clutters the view. Any help please? @Jake Bunce @Brogan
  9. Aletta

    Aletta Member

    I hate bumping threads, but this is quite important to our set-up of our community. Any suggestions, please?
  10. Aletta

    Aletta Member

  11. DieselMinded

    DieselMinded Well-Known Member

    it there a better way to hide sub forums?

Share This Page