![]() |
File template compiler
Maybe there is already a mod like this, but I wasn't able to find it. I would really love a hack that would make template development easyer. What I would like is a hack that will read the html files from a spesific directory and then insert the html files into vbulletin as templates (where the template name is the file name). That way I can use whatever editor I like to make my templates. If the template already exists with the same name, then it will update it.
|
Warning! Only for usage on secured developement boards!
1. Create a directory templates below vBulletin root 2. Create your templates in style manager, use HTML Code:
<<< FILE >>> 3. Create files templatename.html in directory templates 4. In includes/functions.php FIND and UNCOMMENT PHP Code:
|
It would be good if there were an install button in this thread for refinding it later. But anyways, i?ll just bookmark it.
Thanks, Andreas :) |
Is there anyway to get the template in files to go into the database? Would the site run slower if the templates are in files?
|
Way slower.
|
So basicaly I'm requesting a mod that would insert the file templates into the database (and compile them)
|
has anyone done this before?
|
All times are GMT. The time now is 01:04 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:
|