SteelSeries Gauges: Difference between revisions

24 bytes removed ,  11:50, 19 December 2012
Line 5: Line 5:
== Quick Start Guide for Cumulus Users  ==
== Quick Start Guide for Cumulus Users  ==


#Copy "realtimegaugesT.txt" to your Cumulus web folder.  
1. Copy "realtimegaugesT.txt" to your Cumulus web folder.  
#Copy "gauges-ssT.htm" to your Cumulus web folder.  
2. Copy "gauges-ssT.htm" to your Cumulus web folder.  
#Configure Cumulus Internet|Files to:
3. Configure Cumulus Internet|Files to:


    realtime file:-
  realtime file:-
     Local filename  = <path>\Cumulus\web\realtimegaugesT.txt
     Local filename  = <path>\Cumulus\web\realtimegaugesT.txt
     Remote filename = <website_root_path>/realtimegauges.txt
     Remote filename = <website_root_path>/realtimegauges.txt
Line 15: Line 15:
     Realtime = Yes
     Realtime = Yes
     FTP = Yes (unless you are local hosing)
     FTP = Yes (unless you are local hosing)
gauges HTML file:-
 
  gauges HTML file:-
     Local filename  = <path>\Cumulus\web\gauges-ssT.htm
     Local filename  = <path>\Cumulus\web\gauges-ssT.htm
     Remote filename = <website_root_path>/gauges-ss.htm
     Remote filename = <website_root_path>/gauges-ss.htm
Line 24: Line 25:
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.  
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.  


#If required edit the "gauges.js", the key items are at the top:
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 the "realtimegauges.txt" file.
   - The relative path on your website to your 'trend' graphs folder.
   - 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)
   - The relative path on your website to your old 'gauges' page. (users with 'old' browsers will be redirected to this page)


#If you do not require the UV/Solar Index gauges, then change the lines
5. If you do not require the UV/Solar Index gauges, then change the lines


     showUvGauge : true,
     showUvGauge     : true,
   showSolarGauge : true,
    showSolarGauge   : true,
to
  to
  showUvGauge : false,
    showUvGauge     : false,
   showSolarGauge : false,
    showSolarGauge   : false,


#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.
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 that are contained in the ZIP file) to the folder where your "gauges-ss.htm" file is located (probably the same folder where all your other Cumulus HTM files are located).


=== Relative Paths ===
Are just that, they specify where something is on your web site folder structure relative to the page you are currently displaying. So if you copy these gauges to a folder called 'gauges-ss' in the root of your website, and upload the "realtimegauges.txt" to the root folder; the relative path of the .txt file is one folder back in the path. You would then enter the path as "../realtimegauges.txt". If the .txt file is uploaded to the same folder as the gauges page, then the relative path is the same folder, and you would just enter "realtimegauges.txt"


== What Next? ==
== What Next? ==