![]() |
Template Organization
I have a couple styles on the forum that the only difference between them is the forum home template and the postbit template. The rest of the templates are exactly the same. I wanna know how to make them both share all templates except for the forumhome and postbit, so I dont have to update two sets of templates all the time when i change like the forumdisplay or something.
Also, how do I group the templates like the vBstats hack does. Like there's a group for the forumdisplay templates and the forumhome templates. I've installed vBportal and would like to have a group for that, also for the toplist hack by Slynderdale |
hmm, that would be not easy, i'd say wait for vb3 there'll be included just modify 2 templates but all others are choosen from your default set
ok, the two templates are header and footer, but you can have a look on the code then :) grouping templates is very easy read what you have done in template.php when installed vbStats and do so for the others too :) |
I tried that, it didnt work. I added the $only['memberlist'] = 'Member List'; using $only['PREFIX BEFORE THE _'] = 'TEXT I WANTED IT TO SHOW AS';
|
templates have to exsist in templateset -1 to be grouped.
Or to be more exact: There has to be a version of the template in templateset -1 for it to be grouped. |
so basically u want to insert a variable such as $bannerandlinks and be able to have it on any template???
|
All times are GMT. The time now is 02:44 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:
|