Template Includes
Template includes are pieces of HTML code that can be included in any template. These pieces of HTML code could be headers, footers or menu bars. It almost works like SSI's (server side includes) or Java Script Includes. Note that the template includes will only work in the PowerSeek templates. It will work in any template used by PowerSeek.
_
No template includes available yet.
Add a New Template Include:
Name:
Only alphabetical or numerical characters allowed. Underscores also allowed. Once the include has been created you may reference it in any template by providing the name surrounded by  %%_incl and %%. For example, lets say your template include name is header. You will then be able to use %%incl_ header %% in any template to include the HTML code of the include called header .
Template Include HTML Code:
_
Quick Template Help

The following global variables are available to Template Includes and all other templates except link style templates:

!build_url!
This is always replaced by the URL path to the 'html' directory, or the directory where all generated HTML files are stored.

!!add_url_link!!
This is always replaced by a URL path to the 'Add URL' form or the cgi script that displays the 'Add URL' form.

!!add_premium_url_link!!
This is always replaced by a URL path to the 'Premium Link Add URL' form or the cgi script that displays the 'Premium Link Add URL' form.

!!whatsnew!!
This is always replaced by a URL path to the page that indicates the latest link additions to your directory.

!!tophits!!
This is always replaced by a URL path to the page that indicates most popular links inside your directory.

!!modify_link_url!!
This is always replaced by a URL path to the modify CGI script that enable users to modify their links.

!!register!!
This is replaced by a link to the registration form that visitors complete to register an account. Note that you have to use the user registration system.

!!rgs_loginl!!
This is replaced by a link to the login page where visitors log into their accounts. (To add links or view/modify them)

!!contactus!!
This is replaced by a link to the contact form.
 
!!tseeksearch!!
This is always replaced by the URL path to the search CGI scripts. The search CGI scripts are the scripts that searches through your Directory when a visitor invokes a search.


You can use the following HTML code to create a Search Box inside any PowerSeek Template Include:

<form method="POST" action="!!tseeksearch!!">
<input type="text" name="keywords" size="20">
<input type="submit" value="Search" name="B1">
</form>


Note that when you make use of images in the HTML code of templates that you must use a URL link to indicate their locations.

For example:

<img src="someimage.gif"> will not work.
 
You have to indicate the entire URL where someimage.gif is located. For example:
    
<img src="http://www.yourdomain.com/someimage.gif">
   
The <img is an HTML tag indicating that you want to insert an image in the HTML page. The src= part indicates that you want to specify the location of the image to be inserted. Some web editors will support inserting images from a web url and some won't. If your web editor does not support this, insert the image into the HTML page like usual and when finished edit the source of the HTML code and manually insert the URL path's to the images. Ensure that the images are on the server for the URL path's you specify.

Example, editing the HTML source code:

Replace <img src="someimage.gif"> with
<img src="http://www.yourdomain.com/someimage.gif">

_