The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
Collapse certain categories by default
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 |
#2
|
||||
|
||||
I'd like to know the answer to this, too.
Searching around, but haven't found any true answer. |
#3
|
||||
|
||||
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.
HTML Code:
<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> |
Благодарность от: | ||
tbworld |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|