
PC Header and Footer Documentation
PC Header and Footer Documentation
*Description
*Features
*Installation
*Configuration
*Uploading
*Running
*This script will allow you to insert a header and footer to your page with content specified in a single location on your server.
You will need to insert the HTML you would like used into both the header.html and footer.html files before the script will have any data to insert.
To call this script to produce a header, use the following code.
<!--#include virtual="/cgi-bin/headfoot.cgi?action=header" -->
You can optionally add a title for each page by simply adding
this tag: %title% to your header file where you wish the title
to be and calling the script as follows:
<!--#include virtual="/cgi-bin/headfoot.cgi?action=header&title=My%20Website" -->
Make sure you change any spaces to %20, as a raw space will not work with the script.
To call this script to produce a footer, use the following code.
<!--#include virtual="/cgi-bin/headfoot.cgi?action=footer" -->
If the above does not work then you probably do not have SSI enabled for
your domain, or your server recognises a different type of call for this.
To trouble-shoot you can try calling the script with:
<!--#exec cgi="/cgi-bin/headfoot.cgi?action=footer" -->
If this still doesn’t work, then you definitely do not have SSI enabled, please talk to your
server admin about enabling it for you.
|
|
||||||||
|
||||||||
|
||||||||