Webtags (preserving history): Difference between revisions

m
Line 99: Line 99:
= Template Files =
= Template Files =


This is the name given by Steve Loft to the files that contain web tags, and when Cumulus processes these files it generates web pages which it then uploads to your web site. There is more about processing of files on the [[Customised templates]] page, but think of a template as containing text that Cumulus copies from the template file to the web page it is constructing. The processing process is basically a parse, each time it finds what MX calls a token (a web tag complete with any parameters it needs) it looks up the value that it will use to replace that web tag before moving on through the text. The example web templates provided by Cumulus insert a "T" atb the end of the intended web page name before the extension (.htm or .html).  
This is the name given by Steve Loft to the files that contain web tags, and when Cumulus processes these files it generates web pages which it then uploads to your web site. There is more about processing of files on the [[Customised templates]] page, but think of a template as containing text that Cumulus copies from the template file to the web page it is constructing. The processing process is basically a parse, each time it finds what MX calls a token (a web tag complete with any parameters it needs) it looks up the value that it will use to replace that web tag before moving on through the text.  
 
The example web templates provided by Cumulus insert a "T" at the end of the intended web page name before the extension (.htm or .html), so that the template files and generated web pages cannot be confused.
 
When writing your own templates, some people will stick to this "T" notation, others will change the extension to "tmpl" or "cum" to indicate they are Cumulus templates. Cumulus does not care what extension is used for any local file specified in the '''Extra Web Files''' settings.


= Web tags available in Cumulus =
= Web tags available in Cumulus =
5,838

edits