![]() |
Custom Template Groups
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.
|
Hello,
Template Manager should work for you. Its a modification for 3.5.x on this site. |
I've installed it but it does not have the ability to put custom templates into groups. =\
|
Templeat groups can be add by making a hook in location:template_groups
and the code this: PHP Code:
|
It's not working. O_O
|
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. |
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. |
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. |
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.
|
Try just making it for page instead
|
All times are GMT. The time now is 07:17 PM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|