The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
||||
|
||||
![]()
I ran a search and didn't find what I was looking for. Is there a way to put custom templates into a template group? I have a lot of templates that I've made and don't want them taking up the first 500 lines. Please help.
|
#2
|
||||
|
||||
![]()
Hello,
Template Manager should work for you. Its a modification for 3.5.x on this site. |
#3
|
||||
|
||||
![]()
I've installed it but it does not have the ability to put custom templates into groups. =\
|
#4
|
|||
|
|||
![]()
Templeat groups can be add by making a hook in location:template_groups
and the code this: PHP Code:
|
#5
|
||||
|
||||
![]()
It's not working. O_O
|
#6
|
|||
|
|||
![]()
This is what I use for my cmps templates
Code:
$only['adv_portal'] = 'vBadvanced CMPS'; Make sure you put the one for each group of templates as a new plugin as it makes it easier to remove them later if you need to. Also, make sure you set the plugin to active. |
#7
|
||||
|
||||
![]()
I lied... it's working.
Is it possible to make this work for Custom Templates? I have like 300 custom templates that I'd like to segregate. |
#8
|
|||
|
|||
![]()
Yeah
say you have a bunch of templates that start with peterska2_ then you would use Code:
$only['peterska2'] = 'peterska2 rules'; NOTE: It will only group the ones that start the same. |
#9
|
||||
|
||||
![]()
Well... maybe it doesn't work for Dream's custom page wrapper. The templates all say page_blah_whatever. I make the plugin for page_blah and it doesn't work. It's still in the Custom Templates list.
|
#10
|
|||
|
|||
![]()
Try just making it for page instead
|
![]() |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|