View Full Version : how to style sub forums recursively
marianoaran
09-03-2014, 10:40 AM
We have a need to style each subforum recursively. Meaning that we would have 4 sub-subforums and each will have many child sub forums. Each one of these should inherit their parent's design.
We've managed to style a subforum by editing templates, and putting in a conditional, which displays a different logo for a specified forum ID.
We can't find a way to make the child sub-forums inherit the styling too.
Can anyone give me some pointers on how can this be achieved?
Thank you! :-)
tbworld
09-03-2014, 06:00 PM
We have a need to style each subforum recursively. Meaning that we would have 4 sub-subforums and each will have many child sub forums. Each one of these should inherit their parent's design.
Thank you! :-)
Styles as you probably know can be inherited by their children. All templates and stylevars on child will be inherited from their parent, unless they are modified. (see ... Style Manager).
STYLE MANAGER (Each with unique Style-ID)
-----------------------------------------------
Master Style Your current style theme Forum1 (Category) style (child of current theme)
Forum2 (Category) style (child of current theme)Sub-forum style (child of forum style)
Sub of sub forum style (child of sub-forum)
Sub-forum style (child of forum style)
Sub of sub forum style (child of sub-forum)
1.) Under "Forum Manger" you can attach the style ID from the style manager to the forum. See ... Forum Manager -> Style Options -> Custom Style for this Forum
2.) Under "Forum Manager", attach a (parent associated) sub-forum style-id from your Style Manager.
Simple and works well. You will just need to create a dummy setup and play with it a bit :)
vBulletin® v3.8.12 by vBS, Copyright ©2000-2025, vBulletin Solutions Inc.