Customised templates: Difference between revisions

From Cumulus Wiki
Jump to navigationJump to search
m
m (→‎Notes of caution: v1.9.3 update)
m (→‎Changing the templates: example added)
Typically the templates are modified to include additional weather data, or remove it. This is done with Cumulus [[webtags]]
 
== Example ==
<pre>
<!-- Solar data. If you don't have a solar sensor, you may wish to delete everything from here to the next comment -->
<tr class="td_temperature_data">
<td>Solar Radiation</td>
<td><#SolarRad>&nbsp;W/m&sup2;</td>
<td>Evapotranspiration Today</td>
<td><#ET>&nbsp;<#rainunit></td>
</tr>
<!-- End of solar data -->
</pre>
The above code is in indexT.htm, delete all of it if you do not have a solar sensor on your weather station.
The <#ET> web tag only applies to Davis weather stations that include a solar sensor, if your solar sensor is another make, you might want to change the code to the following so you can see your ultraviolet observation:
<pre>
<!-- Solar data. If you don't have a solar sensor, you may wish to delete everything from here to the next comment -->
<tr class="td_temperature_data">
<td>Solar Radiation</td>
<td><#SolarRad>&nbsp;W/m&sup2;</td>
<td>UV Index</td>
<td><#UV></td>
</tr>
<!-- End of solar data -->
</pre>
As soon as you edit templates, remember that when you update to a new build of Cumulus you have the option during the install process to decline overwriting your HTML templates if they are in the 'web' subfolder with the standard templates.
 
=Notes of caution=
5,838

edits

Navigation menu