![]() |
how to group templates ?
I'm sorry if this has been asked but how do we group template with the same prefix in vbulletin 3.5 ?
I just don't want to edit adminfuctions_template.php anymore. thanks in advance |
template_groups
Code:
$only['prefix'] = 'Prefix'; |
Thanks Kirby ! you are really helpful.
|
What does that mean actually ? I have heard about grouping before but still have no clue what it means .. Does it mean you have one big table rather than 20 or something ?
|
this does nothing with the database, it only group templates with the same prefix to one group when editing templates
|
Quote:
Click on "Add new plugin", choose "template_groups" as hook location and enter Code:
$only['xxxxx_'] = 'YYY'; This will collect all templates which titles start with "xxxxx_" in one group called "YYY" in the template manager. Important: I typed small x's, because you MUST use small letters, AFAIR, even if the prefix contains capital letters! |
I'm following the instructions but my templates aren't being grouped under a collapsable group. Any suggestions?
|
All times are GMT. The time now is 12:54 AM. |
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:
|