Customised templates: Difference between revisions

From Cumulus Wiki
Jump to navigationJump to search
m
→‎How Cumulus uses its templates: correcting information about temp suffix
m (→‎Changing the templates: example added)
m (→‎How Cumulus uses its templates: correcting information about temp suffix)
Line 3: Line 3:
=How Cumulus uses its templates=
=How Cumulus uses its templates=


Cumulus has a number of template files which it uses if you select to upload the standard files within Internet Configuration
Cumulus has a number of template files that it uses if you select to 'Include the standard files' within Internet Configuration:
 
 
[[File:SimpleInternet-StandardTicks.png]]
[[File:SimpleInternet-StandardTicks.png]]


 
The template files are stored in the 'web' folder under your Cumulus installation on your PC.  They all have a 'T' (for 'template') in their names. As at version 1.9.2 the following exist:
 
The template files are stored in the 'web' folder under your Cumulus installation on your PC.  They are named:


*indexT.htm
*indexT.htm
Line 18: Line 14:
*gaugesT.htm
*gaugesT.htm
*trendsT.htm
*trendsT.htm
... and any others (e.g. monthlyrecordT.htm in v.1.9.3) that may get added. They all have a 'T' (for 'template') in their names.


When Cumulus is ready to perform a web site update, it will process each of these files, insert the relevant data from the weather station and create temporary filenames for each.  Once completed Cumulus will FTP these up to your web space on the internet.  The filenames on your web site will be as above, without the letter T at the end.
From v.1.9.3 another was added:
*monthlyrecordT.htm
 
When Cumulus is ready to perform a web site update, it will process each of these files, insert the relevant data from the weather station and create local webpages (optionally with temp suffix) for each.  Once completed Cumulus will FTP these up to your web space on the internet.  The final filenames on your web site will be as above, without the letter T at the end.


=Changing the templates=
=Changing the templates=
5,838

edits

Navigation menu