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

Template Help Needed - sub forums only

Discussion in 'Styling and Customization Questions' started by The Forum Heroes, Apr 1, 2013.

  1. The Forum Heroes

    The Forum Heroes Well-Known Member

    I can't figure out how to do this. When you click on a main forum. I want to remove everything below the sub forum list, like the red box in this screenshot http://awesomescreenshot.com/0d8146ej42 Removing the display of posts in the main forums and ability to post in main forums.
     
  2. Andrej

    Andrej Well-Known Member

    Why don't you make "The Inn" into a category instead of having it as a forum node if you don't plan to have threads there?
     
  3. The Forum Heroes

    The Forum Heroes Well-Known Member

    The site will have many forums so instead of a bunch of forums on the node list, "The Inn" serves as a sub catagory and lists all the sub forums within it on the node list taking up far less space.
     
  4. Andrej

    Andrej Well-Known Member

    What I meant is this:

    -- FB Forums Welcome Center (Category)
    -----> The Inn (Category) (acts like sub-category)
    ---------> Subforum A
    ---------> Subforum B
    ---------> Subforum C

    An category inside category. Isn't that what you want to archieve?
    Снимок экрана 2013-04-01 в 19.38.30.png
     
  5. The Forum Heroes

    The Forum Heroes Well-Known Member

  6. The Forum Heroes

    The Forum Heroes Well-Known Member

  7. Brogan

    Brogan XenForo Moderator Staff Member

    You will need to edit the template and use a node ID conditional.

    <xen:if is="{$forum.node_id} != x">
    Template content
    </xen:if>
     
    The Forum Heroes likes this.
  8. The Forum Heroes

    The Forum Heroes Well-Known Member


    Is there an easier way to do it then each node id as I want to do this for all first level forums.
     
  9. Andrej

    Andrej Well-Known Member

    I think you got me hinged... because I was interested at knowing what I did not understand. :D

    ... and this is what I came up with in few seconds using CyberAP's guide.

    Снимок экрана 2013-04-01 в 19.46.00.png
     
    The Forum Heroes likes this.
  10. The Forum Heroes

    The Forum Heroes Well-Known Member

    Oh I thought a cat inside a cat you could post in the 2nd level cat, perfect! Thank you.
     
    Andrej likes this.
  11. FredC

    FredC Well-Known Member

    Maybe im misunderstanding but dont they do that here. in the Resource and Add-on Releases section??
    Capture_04012013_135911.jpg

    Capture_04012013_135915.jpg
     
  12. Andrej

    Andrej Well-Known Member

    Yes. :) It's an category inside an category, but since an category can't have threads, it only shows the child nodes.
     
    FredC likes this.

Share This Page