View Full Version : Style Categories
ADomoWorld
07-07-2013, 05:43 PM
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.
Amaury
07-07-2013, 09:50 PM
Please elaborate.
tbworld
07-07-2013, 10:00 PM
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.
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
07-07-2013, 10:09 PM
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.
That is exactly what Im looking for, the ability to add sections, categories of styles.
What would be the steps or process to do this ?
tbworld
07-07-2013, 10:47 PM
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.
ADomoWorld
07-07-2013, 11:08 PM
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.
ADomoWorld
07-10-2013, 10:02 PM
Friendly Bump ? Anyone else with some way to help or get me started ?
vBulletin® v3.8.12 by vBS, Copyright ©2000-2025, vBulletin Solutions Inc.