The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
Duplicating templates
Is it possible for me to create 2 variations of a template? Specifically, I want to create another version of register.php for some testing I want to run.
So, the idea is to have register.php and register2.php. I can then edit register2.php to look like whatever I want. Possible? Thanks, Jon |
#2
|
|||
|
|||
Just create a new template and copy and paste the contents from one template to another.
|
#3
|
|||
|
|||
I was looking for a copy and paste for the templates. Never thought of creating a new one and then copying. Thanks!
|
#4
|
||||
|
||||
your best shot is to create a new style, and use it for testing... you can edit the templates as you wish from it without thouching your source template.
... when creating a new style, your new one inherit the original templates by default... |
#5
|
|||
|
|||
I would like to have two versions of my template running together, because I am testing some stuff, one against the other.
I created a new template, gave it a name template2 but when I go to mysite.com/forums/template2.php, nothing shows. I copy and pasted the code from another template I am duplicating. What have I done wrong? Edit: Actually, I think I am getting a bit confused because I was thinking templates were actual files that were being dynamically generated but maybe they are code that gets called from a file that already exists? If so, if I want to try a customised version of template then, I need to duplicate the physical file, using ftp. But then I will need to edit the variables so it points to the correct template. For example, if you look at the register template, it has multiple instances within the file where it refers to the word "register". Consequently, I'm thinking that if I want to test a template register2, I will need to update all these instances where register is mentioned with register2, is that right? In a nutshell, I want to keep my original register.php running as its a busy site. But I want to test another version mysite called register2.php. The code in there will be from a custom template I have created, which is copy and pasted code of the register template but with a few modifications. |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|