Xenon
08-07-2002, 10:00 PM
Version: 1.0
This miniaddon i've coded last night, for another hack i'm currently working on, but then i thought it might be usefull for quite more users so i release it seperatly.
What it does?
It's a small script you have to run from your Admin-CP. You can enter a filename of a *.tpl-file (Template file formate by me ;)) and it'll add the Template to the global template set.
As you can see this can be very usefull if you have a lot of template sets and want to add a new hack which comes a long with much templates....
If the template already exists, it'll ask you if the new one should overwrite the old.
Because the Addon adds templates to the global set, you have to rerun it with every template file again after you've done an upgrade.
Personally i made it just for installing new templates that comes within a new hack, it has nothing to do with a backupsystem. If you want to export templates and import them again later you should use this (https://vborg.vbsupport.ru/showthread.php?s=&threadid=33072) hack by FireFly.
I don't think i would add something to the hack, but feel free to make suggestions ;)
Zipfile contains:
tplimporter.php - the script (upload it to your admin folder)
tplimporter.txt - installation textfile and *.tpl file description
test.tpl - a *.tpl file so you can see how they should look ;)
Enjoy
This miniaddon i've coded last night, for another hack i'm currently working on, but then i thought it might be usefull for quite more users so i release it seperatly.
What it does?
It's a small script you have to run from your Admin-CP. You can enter a filename of a *.tpl-file (Template file formate by me ;)) and it'll add the Template to the global template set.
As you can see this can be very usefull if you have a lot of template sets and want to add a new hack which comes a long with much templates....
If the template already exists, it'll ask you if the new one should overwrite the old.
Because the Addon adds templates to the global set, you have to rerun it with every template file again after you've done an upgrade.
Personally i made it just for installing new templates that comes within a new hack, it has nothing to do with a backupsystem. If you want to export templates and import them again later you should use this (https://vborg.vbsupport.ru/showthread.php?s=&threadid=33072) hack by FireFly.
I don't think i would add something to the hack, but feel free to make suggestions ;)
Zipfile contains:
tplimporter.php - the script (upload it to your admin folder)
tplimporter.txt - installation textfile and *.tpl file description
test.tpl - a *.tpl file so you can see how they should look ;)
Enjoy