Template Files
About Template Files
Template files are HTML files used to customize the look of
our applications such as EventHandler, Announcer, Downloader and
so on.
Basically a template files is web page
(HTML Page) designed to look like your website. Within that
template, you will insert the following single line of text:
$REPLACE
Our application will read your template
files, look for the text $REPLACE,
and replace it with the output that our application creates.
The text can be placed anywhere
within your template file where you want the application to insert
it's output.
Below we have grabbed some screen
shots of sites and modified them to show you how a template might
look:


Note: You have to use all capitals with the
$REPLACE variable.
Base Path to Template Files
The base path to a template file is
the actual path to the directory in which the template file
exists. Examples are as
follows: Unix Examples:
/usr/www/domain/path/to/template.htm
/usr/www/domain/templates/mytemplate.html
/usr/www/domain/EventHandler/templates/template.htm Win
9x/NT/2000 Examples:
d:/www/domain/path/to/template.htm
d:/www/domain/templates/mytemplate.htm
d:/www/domain/EventHandler/templates/template.htm Template files do not have to exist in the same
directory as the application files. They can exist in another directory but
they must always exist on the same server in which the application files
exist.
Base HREF to template files
The base HREF is the URL to the
directory in which your template files exists. This value is what
you would normally define as the You must always include the
trailing '/' after the URL: Examples
are as follows: If your
template file exists at:
http://www.domain.com/templates/template.htm
Your base href would be:
http://www.domain.com/templates/ If
your template file exists at:
http://www.domain.com/EventHandler/templates/template.htm
Your base href would be:
http://www.domain.com/EventHandler/templates/
|