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

XF 1.2 Remove Subforums from inside forum view?

#1
Not sure if I properly worded that, however, I am trying to get rid of it showing subforums in a forum that has threads.


So, when you click on a forum to see threads inside, I don't want to see subforums up above threads, yet don't want to remove them as subforums on the main page.
 

Brogan

XenForo moderator
Staff member
#6
Assuming you are using the default pop up setting.

Code:
.forum_list .nodeStats dl, .subForumsPopup {
display: none !important;
}
Otherwise if inline.
Code:
.forum_list .node .subForumList {
display: none !important;
}
 

kingston

Well-known member
#7
Assuming you are using the default pop up setting.

Code:
.forum_list .nodeStats dl, .subForumsPopup {
display: none !important;
}
Otherwise if inline.
Code:
.forum_list .node .subForumList {
display: none !important;
}
I seemed to have someone done something weird. Now if I have a category as the first level nothing will display second level. I removed the code you posted to no change. Any idea where to look what is happening?
 

Valter

Active member
#12
To remove subforum list from forum view it may be better to add the following to the top of forum_view template:
Code:
<xen:set var="$renderedNodes">0</xen:set>