SteelSeries Gauges: Difference between revisions

From Cumulus Wiki
Jump to navigationJump to search
== Quick Start Guide for Cumulus Users ==
 
#1. Copy "realtimegaugesT.txt" to your Cumulus web folder.
#2. Copy "gauges-ssT.htm" to your Cumulus web folder.
#3. Configure Cumulus Internet|Files to:
 
realtime file:-
Local filename = <path>\Cumulus\web\realtimegaugesT.txt
Remote filename = <website_root_path>/realtimegauges.txt
Realtime = Yes
FTP = Yes (unless you are local hosing)
gauges HTML file:-
Local filename = <path>\Cumulus\web\gauges-ssT.htm
Remote filename = <website_root_path>/gauges-ss.htm
NOTE: Cumulus does not actually update any data when it processes the web page, it simply replaces the 'static-ish' values such as your station name, location, version etc. If you wish you can edit the .htm file and directly enter the information, then you do not need to get Cumulus to process the file, just copy it once to your web site, removing the 'T' from the filename.
 
#4. If required edit the "gauges.js", the key items are at the top:
 
- The relative path on your website to the "realtimegauges.txt" file.
- The relative path on your website to your 'trend' graphs folder.
- The relative path on your website to your old 'gauges' page. (users with 'old' browsers will be redirected to this page)
 
#5. If you do not require the UV/Solar Index gauges, then change the lines
 
showUvGauge  : true,
showSolarGauge  : true,
to
showUvGauge  : false,
showSolarGauge  : false,
 
#6. If you have installed to a web folder different from your Cumulus 'root' you will also need to edit the "gauges-ss.html" file, and amend the relative path to your Cumulus "weatherstyle.css" file.
 
Relative Paths&nbsp;:<br> Are just that, they specify where something is on your web site folder<br> structure relative to the page you are currently displaying.<br> So if you copy these gauges to a folder called 'gauges-ss' in the root of<br> your website, and upload the "realtimegauges.txt" to the root folder; the<br> relative path of the .txt file is one folder back in the path. You would<br> then enter the path as "../realtimegauges.txt".<br> If the .txt file is uploaded to the same folder as the gauges page, then the<br> relative path is the same folder, and you would just enter "realtimegauges.txt"
 
Copy (or move) the folders 'css' and 'scripts' and their contents (the files<br>that are contained in the ZIP file) to the folder where your "gauges-ss.htm" file is<br>located (probably the same folder where all your other Cumulus HTM files are located).
 
7. Copy (or move) the folders 'css' and 'scripts' and their contents (the files<br> that are contained in the ZIP file) to the folder where your "gauges-ss.htm" file is<br> located (probably the same folder where all your other Cumulus HTM files are located).
 
=== Relative Paths ===
Relative Paths&nbsp;:<br> Are just that, they specify where something is on your web site folder<br> structure relative to the page you are currently displaying.<br> So if you copy these gauges to a folder called 'gauges-ss' in the root of<br> your website, and upload the "realtimegauges.txt" to the root folder; the<br> relative path of the .txt file is one folder back in the path. You would<br> then enter the path as "../realtimegauges.txt".<br> If the .txt file is uploaded to the same folder as the gauges page, then the<br> relative path is the same folder, and you would just enter "realtimegauges.txt"
 
== What Next? ==

Navigation menu