Customised templates: Difference between revisions

From Cumulus Wiki
Jump to navigationJump to search
1,262 bytes added ,  08:27, 10 August 2014
m
m (→‎Updating to a new Cumulus build: inserted missing word)
Line 182: Line 182:
</pre>
</pre>
=== Slightly less simple customisation of trendsT.htm ===
=== Slightly less simple customisation of trendsT.htm ===
There are many ways that ''trendsT.htm'' can be modified.
# You can change which Cumulus produced graphs are included (the standard version includes indoor temperature but excludes solar related graphs). The necessary edits to do this are described below.
# The standard template uses JavaScript to action the change of the large graph when a thumbnail graph is clicked. All modern browsers support script, but you might want to eliminate script and just use pure HTML as explained  [[Editing_content_of_a_webpage_using_either_HTML_or_Script| elsewher in this Wiki]].
# The standard template plots temperature range and rainfall on a day by day basis for the '''Daily Chart period''' as set on ''Display'' settings screen from '''Configuration menu''', but all the other graphs use the '''Detailed Chart Period''' set in the same place and plot points at 10 minutes interval for thumbnails and 1 minute interval for the large graph (assuming you have left Cumulus running).  If you want points plotted at hourly intervals for up to 7 days, the recent history tags and external script libraries can be used to do this as explained [http://sandaysoft.com/forum/viewtopic.php?f=18&t=12321 in this thread on the support forum].
TO CHANGE WHICH GRAPHS ARE INCLUDED:
Look through the standard file and find the following code segment defining a table...
Look through the standard file and find the following code segment defining a table...
<pre>
<pre>
5,838

edits

Navigation menu