Welcome to the Cumulus Support forum.

Latest Cumulus MX V4 release 4.4.2 (build 4085) - 12 March 2025

Latest Cumulus MX V3 release 3.28.6 (build 3283) - 21 March 2024

Legacy Cumulus 1 release 1.9.4 (build 1099) - 28 November 2014
(a patch is available for 1.9.4 build 1099 that extends the date range of drop-down menus to 2030)

Download the Software (Cumulus MX / Cumulus 1 and other related items) from the Wiki

If you are posting a new Topic about an error or if you need help PLEASE read this first viewtopic.php?p=164080#p164080

Saratoga templates and Steel Series Gauges .. now fully work

Discussion of Ken True's web site templates

Moderator: saratogaWX

User avatar
saratogaWX
Posts: 1238
Joined: Wed 06 May 2009 5:02 am
Weather Station: Davis Vantage Pro Plus
Operating System: Windows 10 Professional
Location: Saratoga, CA, USA
Contact:

Saratoga templates and Steel Series Gauges .. now fully work

Post by saratogaWX »

Having read and responded to many concerns about using Mark's awesome Steel Series Gauges with the current Saratoga template set, I did a bit of 'shim' coding and can now announce that we can have our cake and eat it too :)

I did modifications to 3 files folks normally do not configure (common.php, flyout-menu.php, include-style-switcher.php) and unfortunately to two that are normally configured (top.php, footer.php) and together they comprise a dynamic UTF-8 on-the-fly conversion for the existing ISO-8859-n translation files (.txt, .js) and allow full HTML5 validation.

I have also included in the CU-plugin, VWS-plugin, and WD-plugin a sample wxssgauges.php template page that only requires configuration to point to where you have placed your Steel Series Gauges files. The page uses a slightly modified gauges-ss-basic.htm file (as gauges-ss-basic-inc.php ) which Mark will be including in his distribution of the Gauges (also attached below for those who can't wait).

Languages supported by the Gauges will automatically be enabled when the template language changes by user option. English will be the default for languages not yet available for the Gauges.

Since this wxssgauges.php page emits HTML5/UTF-8, the full features of the Steel Series Gauges are operational, and no mouseover image clipping is done (unlike my prior <iframe> recommendation).

Pick up the needed files from the update tool page using 05-Feb-2013 as the query date. Since the Gauges currently have support for Cumulus, VWS and Weather-Display, only those plugins will have the wxssgauges.php file in them.

Don't forget to add the attached file as gauges-ss-basic-inc.php to your Steel Series directory to make it all work. Mark will include that file in a future release of the Gauges.

Enjoy, and best regards,
Ken
You do not have the required permissions to view the files attached to this post.
User avatar
meteotortosa
Posts: 323
Joined: Thu 04 Dec 2008 12:15 am
Weather Station: Davis Vantage Pro2 Plus
Operating System: Windows XP SP3
Location: Tortosa-Baix Ebre- Catalonia
Contact:

Re: Saratoga templates and Steel Series Gauges .. now fully

Post by meteotortosa »

http://www.meteotortosa.cat/meteo/wxgaugess.php (I use Iframe)

When I can, I updated to your news files
Weather in Tortosa (NE Spain), updated every 15'
Image Image
User avatar
BeaumarisWX
Posts: 409
Joined: Mon 09 Apr 2012 2:38 pm
Weather Station: Davis VP2 Plus - 24hr FARS
Operating System: Windows 10 Pro Hades Canyon
Location: Beaumaris, Tasmania, AU
Contact:

Re: Saratoga templates and Steel Series Gauges .. now fully

Post by BeaumarisWX »

Another piece of brilliant work again Ken.
Greatly appreciated.
http://hrvistaweather.com/wxgauges-ss.php
Regards
Tony Beaumaris, Tasmania (AUS)

CMX Mobile : https://beaumaris-weather.com/BWX/
CMX Default: https://beaumaris-weather.com/cumulusmx_default/
Colour Dashboard : https://beaumaris-weather.com/dashborad_color.php
Click below for Saratoga Template :
Image
User avatar
aznetcowboy
Posts: 363
Joined: Fri 04 Jan 2013 6:03 pm
Weather Station: Davis 6153 Vantage Pro2
Operating System: Windows 10 Home 64-bit
Location: West Bend, WI USA
Contact:

Re: Saratoga templates and Steel Series Gauges .. now fully

Post by aznetcowboy »

saratogaWX wrote:Having read and responded to many concerns about using Mark's awesome Steel Series Gauges with the current Saratoga template set, I did a bit of 'shim' coding and can now announce that we can have our cake and eat it too :)

I did modifications to 3 files folks normally do not configure (common.php, flyout-menu.php, include-style-switcher.php) and unfortunately to two that are normally configured (top.php, footer.php) and together they comprise a dynamic UTF-8 on-the-fly conversion for the existing ISO-8859-n translation files (.txt, .js) and allow full HTML5 validation.

I have also included in the CU-plugin, VWS-plugin, and WD-plugin a sample wxssgauges.php template page that only requires configuration to point to where you have placed your Steel Series Gauges files. The page uses a slightly modified gauges-ss-basic.htm file (as gauges-ss-basic-inc.php ) which Mark will be including in his distribution of the Gauges (also attached below for those who can't wait).

Languages supported by the Gauges will automatically be enabled when the template language changes by user option. English will be the default for languages not yet available for the Gauges.

Since this wxssgauges.php page emits HTML5/UTF-8, the full features of the Steel Series Gauges are operational, and no mouseover image clipping is done (unlike my prior <iframe> recommendation).

Pick up the needed files from the update tool page using 05-Feb-2013 as the query date. Since the Gauges currently have support for Cumulus, VWS and Weather-Display, only those plugins will have the wxssgauges.php file in them.

Don't forget to add the attached file as gauges-ss-basic-inc.php to your Steel Series directory to make it all work. Mark will include that file in a future release of the Gauges.

Enjoy, and best regards,
Ken
I think these gauges are a must for weather stations, however I cannot get them to display in the main page. They always go to a new page. How do I get them to display as they should???

Tom
Tom Wills
Ridge Run Weather Station: http://www.ridgerun.us
Image
User avatar
saratogaWX
Posts: 1238
Joined: Wed 06 May 2009 5:02 am
Weather Station: Davis Vantage Pro Plus
Operating System: Windows 10 Professional
Location: Saratoga, CA, USA
Contact:

Re: Saratoga templates and Steel Series Gauges .. now fully

Post by saratogaWX »

Would you mind posting the URL to the site page that is having the problem? Hard to diagnose the issue based only on the description :)

Best regards,
Ken
User avatar
aznetcowboy
Posts: 363
Joined: Fri 04 Jan 2013 6:03 pm
Weather Station: Davis 6153 Vantage Pro2
Operating System: Windows 10 Home 64-bit
Location: West Bend, WI USA
Contact:

Re: Saratoga templates and Steel Series Gauges .. now fully

Post by aznetcowboy »

Ken,

My weather station is at http://www.elgheko.us/index.php and the URL for the gauges is at http://www.elgheko.us/wxssgauges.php.

Tom
Tom Wills
Ridge Run Weather Station: http://www.ridgerun.us
Image
User avatar
mcrossley
Posts: 14384
Joined: Thu 07 Jan 2010 9:44 pm
Weather Station: Davis VP2/WLL
Operating System: Bullseye Lite rPi
Location: Wilmslow, Cheshire, UK
Contact:

Re: Saratoga templates and Steel Series Gauges .. now fully

Post by mcrossley »

The page cannot locate these files on your server...

Code: Select all

Failed to load resource: the server responded with a status of 404 (Not Found) http://www.elgheko.us/ssg/css/gauges-ss.css
Failed to load resource: the server responded with a status of 404 (Not Found) http://www.elgheko.us/ssg/scripts/language.min.js
Failed to load resource: the server responded with a status of 404 (Not Found) http://www.elgheko.us/ssg/scripts/gauges.js
Failed to load resource: the server responded with a status of 404 (Not Found) http://www.elgheko.us/ssg/scripts/windrose.js
Failed to load resource: the server responded with a status of 404 (Not Found) http://www.elgheko.us/ssg/scripts/RGraph.common.core.min.js
Failed to load resource: the server responded with a status of 404 (Not Found) http://www.elgheko.us/ssg/scripts/RGraph.radar.min.js
User avatar
aznetcowboy
Posts: 363
Joined: Fri 04 Jan 2013 6:03 pm
Weather Station: Davis 6153 Vantage Pro2
Operating System: Windows 10 Home 64-bit
Location: West Bend, WI USA
Contact:

Re: Saratoga templates and Steel Series Gauges .. now fully

Post by aznetcowboy »

mcrossley wrote:The page cannot locate these files on your server...

Code: Select all

Failed to load resource: the server responded with a status of 404 (Not Found) http://www.elgheko.us/ssg/css/gauges-ss.css
Failed to load resource: the server responded with a status of 404 (Not Found) http://www.elgheko.us/ssg/scripts/language.min.js
Failed to load resource: the server responded with a status of 404 (Not Found) http://www.elgheko.us/ssg/scripts/gauges.js
Failed to load resource: the server responded with a status of 404 (Not Found) http://www.elgheko.us/ssg/scripts/windrose.js
Failed to load resource: the server responded with a status of 404 (Not Found) http://www.elgheko.us/ssg/scripts/RGraph.common.core.min.js
Failed to load resource: the server responded with a status of 404 (Not Found) http://www.elgheko.us/ssg/scripts/RGraph.radar.min.js
Thanks for letting me know. I have now copied the files over, hopefully. It took me awhile to figure out what you were referencing as I thought I had copied everything over. Just one more thing to resolve and that is the the one gauge on the right in the middle row. I assume that is the Rose gauge?
Tom Wills
Ridge Run Weather Station: http://www.ridgerun.us
Image
User avatar
PaulMy
Posts: 4355
Joined: Sun 28 Sep 2008 11:54 pm
Weather Station: Davis VP2 Plus 24-Hour FARS
Operating System: Windows8 and Windows10
Location: Komoka, ON Canada
Contact:

Re: Saratoga templates and Steel Series Gauges .. now fully

Post by PaulMy »

The gauges show fine at http://www.elgheko.us/gauges-ss.htm including the trends graphs. Still a couple of settings needed to get them all correct on the Saratoga page - trends path and count-down timer, and the wind rose.

You're getting there, enjoy.

Paul
VP2+
C1 www.komokaweather.com/komokaweather-ca
MX https://komokaweather.com/cumulusmx/index.htm /index.html /index.php
MX https://komokaweather.com/cumulusmxwll/index.htm /index.html /index.php
MX https:// komokaweather.com/cumulusmx4/index.htm
Image
User avatar
mcrossley
Posts: 14384
Joined: Thu 07 Jan 2010 9:44 pm
Weather Station: Davis VP2/WLL
Operating System: Bullseye Lite rPi
Location: Wilmslow, Cheshire, UK
Contact:

Re: Saratoga templates and Steel Series Gauges .. now fully

Post by mcrossley »

You still have one file missing...

Code: Select all

Failed to load resource: the server responded with a status of 404 (Not Found) http://www.elgheko.us/ssg/scripts/RGraph.radar.min.js
User avatar
aznetcowboy
Posts: 363
Joined: Fri 04 Jan 2013 6:03 pm
Weather Station: Davis 6153 Vantage Pro2
Operating System: Windows 10 Home 64-bit
Location: West Bend, WI USA
Contact:

Re: Saratoga templates and Steel Series Gauges .. now fully

Post by aznetcowboy »

mcrossley wrote:You still have one file missing...

Code: Select all

Failed to load resource: the server responded with a status of 404 (Not Found) http://www.elgheko.us/ssg/scripts/RGraph.radar.min.js
I just went through all my files, including unzipping the original zip file and there is no such file in what I have. Could you forward a copy of your file to me? My email is tom.wills@cox.net.

Thanks! :)
Tom Wills
Ridge Run Weather Station: http://www.ridgerun.us
Image
User avatar
mcrossley
Posts: 14384
Joined: Thu 07 Jan 2010 9:44 pm
Weather Station: Davis VP2/WLL
Operating System: Bullseye Lite rPi
Location: Wilmslow, Cheshire, UK
Contact:

Re: Saratoga templates and Steel Series Gauges .. now fully

Post by mcrossley »

Actually, thinking about it, your page shouldn't even be trying to to load that file, it was used in a much older version of the scripts. It should be using the RGraph.rose.min.js file like your other page http://www.elgheko.us/gauges-ss.htm
User avatar
aznetcowboy
Posts: 363
Joined: Fri 04 Jan 2013 6:03 pm
Weather Station: Davis 6153 Vantage Pro2
Operating System: Windows 10 Home 64-bit
Location: West Bend, WI USA
Contact:

Re: Saratoga templates and Steel Series Gauges .. now fully

Post by aznetcowboy »

mcrossley wrote:Actually, thinking about it, your page shouldn't even be trying to to load that file, it was used in a much older version of the scripts. It should be using the RGraph.rose.min.js file like your other page http://www.elgheko.us/gauges-ss.htm
I have RGraph.rose.min.js in my scripts folder, so why then isn't it being loaded? The version of the SS script is 2.4.4. Is this not the latest and greatest version? :?:
Tom Wills
Ridge Run Weather Station: http://www.ridgerun.us
Image
User avatar
mcrossley
Posts: 14384
Joined: Thu 07 Jan 2010 9:44 pm
Weather Station: Davis VP2/WLL
Operating System: Bullseye Lite rPi
Location: Wilmslow, Cheshire, UK
Contact:

Re: Saratoga templates and Steel Series Gauges .. now fully

Post by mcrossley »

I don't know, you must be using an old version on the 'include' file. The version of "gauges-ss-basic-inc.php" in the 2.4.4 zip file definitely uses RGraph.rose.min.js
User avatar
aznetcowboy
Posts: 363
Joined: Fri 04 Jan 2013 6:03 pm
Weather Station: Davis 6153 Vantage Pro2
Operating System: Windows 10 Home 64-bit
Location: West Bend, WI USA
Contact:

Re: Saratoga templates and Steel Series Gauges .. now fully

Post by aznetcowboy »

mcrossley wrote:I don't know, you must be using an old version on the 'include' file. The version of "gauges-ss-basic-inc.php" in the 2.4.4 zip file definitely uses RGraph.rose.min.js
The only thing I find in the folder for SS 2.4.4's gauges-ss-basic-inc.php is:

<!-- Included Scripts -->

<!-- Google CDN hosted JQuery library -->
<script src="https://ajax.googleapis.com/ajax/libs/j ... "></script>
<!-- or... -->
<!-- Local JQuery library, do not use if your containing page already pulls in a copy of JQuery -->
<!-- <script src="scripts/jquery-1.8.2.min.js"></script> -->

<!-- Combined steelseries.js & tween.js -->
<script src="<?php echo $ssgDir; ?>scripts/steelseries_tween.min.js"></script>

<!-- Once you have customised this scripts to your requirements you should minimise
and concatenate them into a single file in the same order as below -->
<script src="<?php echo $ssgDir; ?>scripts/language.min.js"></script>
<script src="<?php echo $ssgDir; ?>scripts/gauges.js"></script>

<!--Optional Wind Rose scripts -->

<script src="<?php echo $ssgDir; ?>scripts/windrose.js"></script>
<script src="<?php echo $ssgDir; ?>scripts/RGraph.common.core.min.js"></script>
<script src="<?php echo $ssgDir; ?>scripts/RGraph.rose.min.js"></script>
Tom Wills
Ridge Run Weather Station: http://www.ridgerun.us
Image
Post Reply