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

Remove sub-forums drop downs

Discussion in 'XenForo Questions and Support' started by Brandon Sheley, May 23, 2013.

  1. Brandon Sheley

    Brandon Sheley Well-Known Member

    How do I remove this whole drop down sub-forum box from my forum home page?


  2. AndyB

    AndyB Well-Known Member

    Edit the node_forum_level_2 template and comment out this section.

                    <!-- don't show drop down sub-forum box -->
                    <xen:if is="{$renderedChildren} AND {$level} == 2">
                        <div class="Popup subForumsPopup">
                            <a href="{xen:link forums, $forum}" rel="Menu" class="cloaked" data-closemenu="true"><span class="dt">{xen:phrase sub_forums}:</span> {xen:number $forum.childCount}</a>
                            <div class="Menu JsOnly subForumsMenu">
                                <div class="primaryContent menuHeader">
                                    <div class="muted">{xen:phrase sub_forums}</div>
                                <ol class="secondaryContent blockLinksList">
                                <xen:foreach loop="$renderedChildren" value="$child">
                                    {xen:raw $child}
    Brandon Sheley likes this.
  3. Brandon Sheley

    Brandon Sheley Well-Known Member

    Thanks AndyB
    That's where I was last night but I think I forgot the ! in <!-- when I was trying to comment it out. Sleep helped ;)
    CyclingTribe likes this.

Share This Page