Tetra WebBBS Frequently Asked Questions
How to use my forum template for the whole site?
To use the method shown below, your server must be configured to use web files with the suffix of '.shtml' (rather than the usual '.htm' or '.html'.) A web file with the suffix of '.shtml' is a file that includes information to be added 'on the fly' by the server before it is sent to a browser [Server Side Includes (SSI).] Check with your system administrator to see whether or not you can use SSI. If you are not allowed to do SSI, consider moving to some place where you can!
See: Does Tetra Team provide hosting services?
To use the template files for (for example) your home page:
Upload a copy of your Meta.txt, Header.txt and Footer.txt to your web-document root directory.
Create a text file named index.shtml and add this HTML to the index.shtml:
<title>My home page</title>
<!--#include file='/Meta.txt' -->
<!--#include file='/Header.txt' -->
Contents of your home page
<!--#include file='/Footer.txt' -->
Save the changes. Upload (in ASCII mode) the changed index.shtml to your web-document root directory.
Point your browser to the index.shtml. The same layout as your forum page should appear.
Certainly, you would want to replace the text string 'Contents of your home page' in index.shtml with something more meaningful or with another <!--#include file --> tag pointing to a file that contains your home page contents.
If you have a file named index.html in your web-document root directory, to use the index.shtml instead of the index.html as your home page, you may need to delete the index.html.