The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
![]()
I've searched a bit, but I've not found anything to do with this, as I don't exactly know what keywords to look for.
How do I go about grouping custom templates together within a template 'category'? So for instance currently in the Style Manager for any style we get 'Forum Home Templates', and within this we get various templates to do with the forum home. How would I group templates together under a name such as the example - 'Forum Home Templates'? e.g. Before expaning: Custom Templates >> After expanding: Custom Templates << ---- Custom Template 1 ---- Custom Template 2 ---- Custom Template 3 I've seen it done with v3arcade and vBadvanced CMPS, but I can't find a way of doing it... Cheers. |
#2
|
||||
|
||||
![]()
I don't understand...
Grouping them? or having it more recursive? |
#3
|
||||
|
||||
![]()
I think he wants to group his custom templates.
|
#4
|
||||
|
||||
![]()
Anyway, if you just want to group some custom templates, create a plugin using the template_groups hook...
PHP Code:
|
#5
|
|||
|
|||
![]()
Is there something I need to do to get it to work, simialr to rebuilding the bitfields after adding ACP sidebar links, or should it work instantly?
|
#6
|
|||
|
|||
![]()
It should work next time you open your style manager.
|
#7
|
|||
|
|||
![]()
Ah, turns out that if you have an underslash at the end of the array level like so:
PHP Code:
Thanks, guys. |
![]() |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|