![]() |
To compare templates easily I'd like to have a script that will save each template of a style to a textfile named like the template or even something like styelid_templatename.txt.
I think its easier to update modified or translated templates when you can use a comparison tool like BeyondCompare for example. Perhaps someone has got the time to make this script. I don't have it right now. :( Thanks. |
Definately needed!
|
Here's the script. Not very nice but works for now:
Code:
get the script in the next post Just change the $tempsetid to save a different template set. All templates will be saved in a directory called after the templatesetid. Perhaps I will improve it later.... |
1 Attachment(s)
Now it's much nicer with the ability to select the style via dropdown box.
You can name the directory now. If you leave the field blank it will name the directory after the templatesetid. Put the script in your admin dir an run it. I hope you can read german ;) |
1 Attachment(s)
I have dared to translate it into English! ;)
If you want me to remove the English version from this post just tell me! |
One question:
I got a lot of error messages as I ran it! I tried it then with your original German version and it was the same! Can it be that it only works with Windows servers? |
What kind of error messages?
I only used it on my Windows machine. |
I guess it only works with Windows:
Code:
Directory ./templates doesn't exist! Being created... |
Create your directory and chmod it 777.
|
I get the following error when I run this utility:
Fatal error: Call to undefined function: maketableheader() in /home/msports/michigan-sportsman-www/forum/admin/savetemplates.php on line 47 Any ideas? I desperately need to run this utility to make upgrading my templates managable. |
All times are GMT. The time now is 06:16 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:
|