5,838
edits
m (→Creating Your Own Templates: Ensuring look consistent throughout section) |
m (→How Cumulus uses its templates: corrected list, added mention of charset change) |
||
It is possible to take the standard Cumulus web templates and customise these to your own requirements. A basic understanding of HTML is useful.
[[Category:WebTools]]
=How Cumulus uses its standard templates=
Cumulus has a number of template files that it uses if you select to 'Include
[[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
{| border="1" class="wikitable"
*indexT.htm▼
|-
*todayT.htm▼
! style="width:65px" | Template
*yesterdayT.htm▼
! style="width:250px" | Introduced
*recordT.htm▼
! style="width:400px" | Description
*gaugesT.htm▼
|-
*trendsT.htm▼
|from version 1.0 27th January 2004
|Shows latest observations and calculated values
|-
|from version 1.0 27th January 2004
|Shows today's extremes
|-
|from version 1.0 27th January 2004
|Has thumbnails of standard graphs, select one to display equivalent full trend graph.
|-
|from version 1.0 27th January 2004
|Shows all-time extremes
|-
|from version 1.5.1 10th January 2006
|Shows yesterday's extremes
|-
|thisyearT.htm
|from version 1.5.1 10th January 2006
|Shows latest annual extremes
|-
|thismonthT.htm
|first release not recorded
|Shows extremes for latest month
|-
|from version 1.7.11 21st June 2008
|Includes some free gauges originally written for FreeWX, displays the three wind gauges from the Cumulus main screen and two real time wind gauges.
|-
|from version 1.9.3 10th April 2012
|Shows extremes for a particular month in all years
|}
When Cumulus is ready to perform a web site update, it will read each of these template files, and run a process that creates locally web pages (until build 1092 the created pages were in XHTML 1.0 Transitional using charset=iso-8859-1; from build 1093 the created pages are in HTML 5 using charset="UTF-8") by inserting text from the template.
▲*monthlyrecordT.htm
The standard website set up is fully described in [[Simple_Website_setup]].
|
edits