Web Site Replicator v3.2
Created by Mike Watkins of Envex Developments
Customizing the Templates
The Web Site Replicator v3.2 is completley template based, which means when a member does something like goes to edit their profile, the
script will open up a template, and print that template to the screen. This is different from version 2.1, where all of the HTML was actually inside
the script, which made it impossible to customize. With this new template based system, you can easily customize the look of your entire program.
All templates for the Web Site Replicator v3.2 are stored in the wsr_data/htmlt directory of your server. Editing a template is just as easy as editing a
normal web page. Just open the template up in a text editor like Notepad, change what you need then save the file again. If you do not feel comfortable with editing the
templates, and feel that you might screw up the script by doing so, then please do NOT try to edit any templates. They look pretty good as is.
However, if you do decide to edit the templates and customize the look of your program, there are a few things you should know before you do.
- In many of the templates you will see merge fields like, ~username~. DO NOT edit any of these merge fields! If you do, the script will not
work properly.
- In some of the templates, you will see reproducing HTML tags like <REPRODUCE sometext>...</REPRODUCE>. What happens is the script will take the HTML between these tags, and reproduce it
over and over for whatever reason. For example, in the edit_profile.htmlt template, there is a set of <REPRODUCE> tags. Now, when a member goes to edit their profile, the script will
take the HTML between these tags, and copy it over and over for every userfield. Please, do NOT edit these tags, or the merge fields inside of them. If you do, the script will not
work properly.
Other than the couple things mentioned above, the templates are just normal web pages which you are free to edit. Below is a list of all templates. Before you edit a template, please click on the link below for that template to view
exactly what the template is used for, what to watch out for while editing the template, and any other important information.
< Prev |
Next >