SteelSeries Gauges: Difference between revisions

From Cumulus Wiki
Jump to navigationJump to search
m
FTP = Yes (unless you are local hosting)
 
(The standard Cumulus template is Cumulus\web\gaugesT.htm, this uses "Cumulus\web\gauges-ssT.htm" so you can retain the old one).
'''''NOTE''': Cumulus does not actually update any data when it processes the (gauges-ssT.htm) web pagetemplate, it simply replaces the 'static-ish' values such as your station name, location, version etc. If you wish you can edit the ''gauges-ssT.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. OR, you can let Cumulus process and upload the HTML file to your web site a few times, then disableremove it againfrom 'files' tab table.''
 
5. If required edit the "gauges.js", the key items are at the top:
 
- The path on your website to the "realtimegauges.txt" file.
- The relative path on your website to your 'trend' graphs folder (''images'' in standard Cumulus set up).
- The relative path on your website to your old 'gauges.htm' page. (users with 'old' browsers will be redirected to this page)
 
6. If you do not require the UV/Solar Index gauges, then change the lines
showSolarGauge  : false,
 
7. IfFTP youthe arefolders installing'css' toand a'scripts' weband foldertheir differentcontents from(the yourfiles Cumulusthat 'root'are oncontained yourin webthe server,ZIP youfile) willfrom alsoyour needPC to edit the folder where your "gauges-ss.htm" file, andis amendlocated (probably the relativesame pathfolder towhere all your other Cumulus "weatherstyle.css"HTM filefiles are located) on your web server.
 
98. Test the page.
8. FTP the folders 'css' and 'scripts' and their contents (the files that are contained in the ZIP file) from your PC to the folder where your "gauges-ss.htm" file is located (probably the same folder where all your other Cumulus HTM files are located) on your web server.
 
9. Test the page.
 
=== Relative Paths ===
 
Are just that, they specify where something is on your web site folder structure relative to the page you are currently displaying.
If you are installing to a web folder different from your Cumulus 'root' on your web server, you will first need to edit the "gauges-ss.htm" file, and amend the relative path to your Cumulus "weatherstyle.css" file. So if you copy these gauges to a folder called 'gauges-ss' in the root of your website, the relative path of the Cumulus css file is one folder back in the path. You would then enter the path as "../weatherstyle.css".
 
== What Next? ==
5,838

edits

Navigation menu