Created: 25/10/02 19:40:43
Last update: 11/11/02 13:19:33
by David Gentle
What templates must consist of.
Templates contain everything that each webpage requires, except the information in the various global and local fields. There are 2 forms of template:
- File template: these contain a path to an external text file containing a template (useful if you wish to genterate a template with another program)
- Text template: A simple text file.
Both forms of template have the same structure.
A template is basically an html document with certain custom tabs. These tabs take the form:
<$somelabel$>
Some tags are global while others can only be used in certain circumstances. Global tags include all global fields and zineophilemanual.html.
The index page has a pair of special tags:
<$indexstart$><$indexfinish$>
Between these go the details for each page. See fields for more info.
Article templates can contain any tags that refer to the fields of the specific article (accept articletemplate) ie: <$author$> <$creationdate$> etc as well as any arbitrary local fields used ie: <$dogs$> <$light$> <$teeth$>.
Index
Copyright David Gentle 2002