Welcome to the Cumulus Support forum.

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

Cumulus MX V4 beta test release 4.0.0 (build 4017) - 17 March 2024

Legacy Cumulus 1 release v1.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

Cumulus MX Default Web Template Validation

From build 3044 the development baton passed to Mark Crossley. Mark has been responsible for all the Builds since. He has made the code available on GitHub. It is Mark's hope that others will join in this development, but at the very least he welcomes your ideas for future developments (see Cumulus MX Development suggestions).

Moderator: mcrossley

Post Reply
User avatar
BeaumarisWX
Posts: 357
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:

Cumulus MX Default Web Template Validation

Post by BeaumarisWX »

Hi Mark,
Finally had time to play with the new default CUMX Template.
I decided to add my onsite WxSim Forecast page and Webcam Page and in doing so as I always do, made sure they validated, as I had to change some pages from .htm to .php due to .php inclusion in those pages, the reason for going with .php was because my shared host provider does not allow .htaccess mods.

So decided to validate all Template pages and found the following : (apologies if these have already been highlighted).

1: "noaareport.htm" a minuscule error on line 98, throws error because of the "---" between commented out <span>.
Old : Line 98 : <!-- <h3><span id="RptTitle">---</span></h3> -->
New : Line 98 : <!-- <h3><span id="RptTitle"></span></h3> --> ( removed "---" ).

2: "today.htm" a minuscule error on line 176, throws error because of the rouge "</span>" as per below.
Old : Line 176 : <td>High Pressure</span></td>
New : Line 176 : <td>High Pressure</td> ( removed "</span>" ).

I also noticed that on the "noaareport.htm" page if you select the first year of records (eg. 2019) the Months Selector is greyed out, acknowledge you are fixing the uncaught error for " monSt = y == startYear ? startMon : 1;" to "monSt = y == startYear ? startMonth: 1;".

Also added validation "img" links to footer on each page for easy checking, as well as some additional quirky bits and bobs to the display for fun.

https://beaumaris-weather.com/cumulusmx ... /index.php

Thanks for all the great work, appreciated, latest version going well so far.

Kindest Regards Always,
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
mcrossley
Posts: 12689
Joined: Thu 07 Jan 2010 9:44 pm
Weather Station: Davis VP2/WLL
Operating System: Bullseye Lite rPi
Location: Wilmslow, Cheshire, UK
Contact:

Re: Cumulus MX Default Web Template Validation

Post by mcrossley »

Thanks, Tony, I do validate the pages, but not as often as I should so little issues creep in.

I'll add these to my tofix list...
Post Reply