The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
Style Categories
With VB4 is there a way to add categories to my style manager ? Kind of how there is a mobile design section and a standard section.
Id like to have different categories to display different games, tv, and movie sections. Thanks, for any help. |
#2
|
|||
|
|||
Please elaborate.
|
#3
|
|||
|
|||
Quote:
Styles are of course hierarchical in the admincp so in that sense yes, the tree can have branches. I think what you are referring to is the select style menu in the footer for the client. The answer is also yes, but you would have to do some custom coding to the select box and group by display order. You can also simply just create the select menu manually. |
Благодарность от: | ||
ADomoWorld |
#4
|
|||
|
|||
Quote:
What would be the steps or process to do this ? |
#5
|
|||
|
|||
How many groups and styles are you talking about?
Is this something you want to do manually or automatically? I had a setup like that before we made adaptable templates. Somehow I thought it would be cool to have different views for different kind of users. Modifying all those styles ended up boring the heck out of me so I dropped it. But it was fun to write the code and not to difficult. I use the display order in the admincp and it told me how to filter and display the tree. 1000 Header GroupName1 (Fake style) for the group name... 1100 Sub Group Name 1110 Style1 2000 Header GroupName2 Then I pre-filter the admincp data and add group header names and null fields for seperators. I don't think I have the code anymore or I would just give it to you. You can by doing the same thing by creating a manual menu if you do not have too many styles. I will check my backups and see if I can find the code. If not I can get you to a starting point. |
#6
|
|||
|
|||
I suppose Id like for it to become automatic if I end up adding a lot more skins, but if the process of manually doing it is simple, I don't mind at all.
An example I had was: ---Default Templates --Skin1 --Skin2 --Skin3 ---Category 1 --Skin1 --Skin2 --Skin3 ---Category 2 --Skin1 --Skin2 --Skin3 If the process is simple Id prefer that, but if I can get it to automatically create such categories that would be awesome. |
#7
|
|||
|
|||
Friendly Bump ? Anyone else with some way to help or get me started ?
|
Thread Tools | |
Display Modes | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|