The LinkCodeGenerator has been designed to be totally configurable and adaptable. This is why we have a HTML template driven design, that way you simply edit standard HTML pages to change the look and feel of our software. You can edit the template files using a WYSIWYG HTML editor such as DreamWeaver or AceExpert. You can also edit this file as Raw HTML using a text editor. NOTE:- FrontPage and other editors change the layout of the HTML, this causes serious problems with the templates. If you are using FrontPage then please consult the help file to disable the HTML layout changes.
We offer a service where we redesign the templates to fit into your site. If you would like us to design the AllAffiliatePro templates to match your site then please click here.
The template system works by our software substituting the relevant data into the HTML page before displaying it in the browser. To do this the software needs to know where the different data should be in the page. Special ::symbols:: are used in the page which are substituted for the relevent data.
About the
::symbols::
TIP:- It is often best to try out this program first with the default templates. This should give you a better idea of where the templates are displayed when you are editing them.
members.html
This is the template file for the members area. This is the page where your affiliates will choose what banners and text links they want to view and for what site. Below is a list of all the symbols and what they represent.
::username:: | Displays the members username, this is used for linking the different options. |
::password:: | Displays the members password, this is used for linking the different options. |
On
this page you must link to the different banner and link text
options. The linking method is:-
codegen.cgi?username=::username::&password=::password::&want=WANT&site=SITEIn HTML code this is usually:-
<a href="codegen.cgi?username=::username::&password=::password::&want=WANT&site=SITE">Select banners for site 1</a>WANT should be replaced with "showdeep", "showban" or "showtext", depending on what you want to be displayed.
SITE should be replaced with the site number depending on which site you want the banners/text links to be displayed for.
The template provided has links to banners and text link's for the sites. A look at this page should help you understand. If for instance you are only offering Banners and Text links for site 1 (this is the site 1 you have configured in your affiliate software), then you would remove the links for sites 2 to 5.
sbp.html
This is the template file for the show banners page. When a show banners link is selected from the members.html page this page is displayed with the banners for that site. The affiliate can then select which banners they want, and proceed to generate the HTML code they need.
::username:: | Displays the members username, this is used for linking the different options. |
::password:: | Displays the members password, this is used for linking the different options. |
::total:: | Displays the total number of banners available. Used as a hidden form field. |
::resultshere:: | This is where a list of the available banners will be displayed. |
The ::resultshere:: data is displayed in table rows. That means you need an opening and closing of a <table> either side of the ::resultshere:: symbol. Take a look at the template file in raw HTML for example. ::Total:: must not be removed.
stp.html
This is the template file for the show text links page. When a show text links link is selected from the members.html page this page is displayed with the text links for that site. The affiliate can then select which text links they want, and proceed to generate the HTML code they need.
::username:: | Displays the members username, this is used for linking the different options. |
::password:: | Displays the members password, this is used for linking the different options. |
::total:: | Displays the total number of banners available. Used as a hidden form field. |
::resultshere:: | This is where a list of the available banners will be displayed. |
The ::resultshere:: data is displayed in table rows. That means you need an opening and closing of a <table> either side of the ::resultshere:: symbol. Take a look at the template file in raw HTML for example. ::Total:: must not be removed.
bhtmlp.html
This is the template file for the generated banner html page. This is the page that displays the HTML code for the banners the affiliate selected. Allowing the affiliate to copy the code into their web pages.
::username:: | Displays the members username, this is used for linking the different options. |
::resultshere:: | This is where the banner HTML will be displayed. |
Edit this page to suit your site.
thtmlp.html
This is the template file for the generated text link html page. This is the page that displays the HTML code for the text links the affiliate selected. Allowing the affiliate to copy the code into their web pages.
::username:: | Displays the members username, this is used for linking the different options. |
::resultshere:: | This is where the text link HTML will be displayed. |
Edit this page to suit your site.
Your template files should now be ready to be uploaded to your server, replacing the default templates uploaded in the installation.
Please continue to the next section Basic Operation