PDA

View Full Version : Collapse certain categories by default


KubisForce
12-04-2009, 01:17 PM
Hi,

I want to clean up a bit my forumhome. Is there any way to say that certain categories should show up collapsed by default?

Any help would be appreciated.

Greetings

Joe Siegler
10-07-2014, 07:15 PM
I'd like to know the answer to this, too. :)

Searching around, but haven't found any true answer.

Simon Lloyd
10-10-2014, 10:16 AM
You'd have to edit your forumhome_forumbit_ templates, look for <if condition="!$show['collapsable_forums']"> and follow what i've done below, my forum id that i'm collapsing by default is 12, if it's more than one forum to collapse then you'll have to us an IN ARRAY if condition.
<if condition="!$show['collapsable_forums']">
<!-- CHANGED COLLAPSED BELOW -->
<tbody id="collapseobj_forumbit_$forumid" <if condition="$forumid == 12">style="display: none" <else /> style="{$collapseobj_forumid}"></if></if>
$childforumbits
<if condition="!$show['collapsable_forums']">
</tbody>
</if>
</if>