A template is a simple html file that defines the locations of various bbs elements.
A template consists of pure html code, script, embedded objects, etc., plus specific aGNeS tags and options.
A tag is typically <!--TAG-->. An option is <!--SET OPTION--value-->.
Tags define the exact location where elements, such as the list of articles, the amount of posted articles or
the search box should show up. Options define things, such as the sorting order of articles or the default text to show
in the search box.
When you first create an aGNeS bbs, you download several templates for different purposes, such as showing
the articles list (header.html), posting new articles (postnew.html), showing an article (article.html),
replying to posts (follow.html), searching (search.html) and previewing new posts (preview.html).
|
To edit your template pages, do not use editors, such as FrontPage or Microsoft Word as they heavily
alter the html code. Prefer simpler raw html code text editors, XEmacs, UltraEdit and others.
|