The template feature of AutoRank makes the script extremely easy to integrate into your site. These templates are very easy to edit, but you need to follow a few guidelines. AutoRank allows you to edit the template files through a web-based editor in the administrative script, but you can also edit them in your normal HTML editor. You should use whichever you feel more comfortable with.
These files are used to generate the HTML that the scripts output. In each of the files you will find standard HTML and pieces of text surrounded by #%%#. Anything surrounded by #%%# should not be edited. These are items that will be inserted by the script. You can move it around all you want, but do not change the value inside the #%%#. Basically you can use any HTML you want. You should first use the script with the default templates so you can get a feel of what each #%%# item is replaced with. Once you have a feel for how they are working, you can go in and put your HTML in. Be sure to watch out for hidden form fields in these templates. In almost all cases, those hidden fields are required in order for the software to function correctly, so be sure to leave all of them in place.
These files are used as templates for the e-mails that are sent when a member signs up, or when a member needs reminded of their password. All of the .etmpl files will be located in the templates directory of your installation. You can download them in ASCII mode when you want to make changes to them. They follow a certain format which needs to be maintained in order for the e-mails to be sent. That order is: To: #%EMAIL%# From: #%ADMIN_EMAIL%# Subject: The subject The body of the message Note that there must be a blank line between the Subject line and the body of the message. Failure to leave that blank line will result in e-mails not being sent. The same format is used in the .etmpl files as is used in the .htmlt files. All items that the script will insert are surrounded by #%%#. Again, do not edit these. You can move them around all you want within the e-mail. Make sure you edit these files in an ASCII text editor such as Notepad if you are not using the built in template file editor.
If you are editing the templates through the web based interface, you do not need to do anything else after you have made the changes you want. However, if you are editing in your HTML editor, you will need to upload the template files to the server in ASCII mode when you have completed editing them.
|