XF 2.1 Hide "thread list container block" if no threads in a node

maxicep

Active member
We have some forum nodes which are not including threads. Because, they including sub-forums and members open threads to sub-forums only, not main forum node.

So i want to remove these area if forum no has any thread. (Please see the blue area at the screenshot)

What is the right template conditional for do this? Thanks

Ekran Resmi 2019-09-14 01.49.11.png
 
If those forums are not designed to have posts, you should swap them for categories.
Yes but i don't want to change that node URL's.

Because if i switch to category, node id and category slug will change. And i will lose the rank.

So my solution is that, i want to hide that thread list area if forum has no thread also has subforums. @Brogan
 
Top Bottom