AlternativePublicWebsite

From Cumulus Wiki
Jump to navigationJump to search

The Alternative Public Website

This page is targeted at my Alternative Public Website and not the default website supplied with CumulusMX. This alternative is designed to work with the existing data that is uploaded by CumulusMX and supports some additional data not shown on the default site.

You can view this site at ai2weather.uk/apw/ and at ai2weather.uk/cmxAs2/. Both these sites use the same template but are configured differently showing some of the features you can use.

Configuration

Caption text
This is slightly different in this version although it still uses the same cmxConfig object.

As can be seen, the object is now separated into sections with one or two extra entries in Custom.

You will need to make sure that the Data and NOAAReportsPath entries point to your data and reports respectively.

Based on some feedback, if you want to use the standard menu format you need to set 'StandardMenu' to true.

This will than use a bar menu across the top of the page.

I will be providing more detailed information here and on my Wiki soon.

Update: 11/10/2025 Version 5.0.1

Fixes:

  • The Soil Moisture chart now works as expected - rogue line in code.

Changes:

  • You can now opt to not have a logo if you are using a banner image. Make the logo 'None'.
  • The line above the menu has been removed.
  • You can now add your own text to the Information panel by editing the file index-info.html (supplied). The content of this file will replace anything that I have hard coded into the block.

Update 16/10/2025 Version 5.0.2

Fixed

  • The tooltip on the Wind Direction chart now uses the same styles as others.

Changed

  • All Trends charts now have improved accessibility descriptions
  • The index-info.html file can now start with paragraph tags meaning the index.html page has changed.

Update 17/10/2025 - Version 5 b:003 Please note the addition of a build number.

Fixed

  • Historic charts now show the correct timezone
  • Spaces added to units on Dashboard, Today, Yesterday and Today v Yesterday pages.

Corrections

  • Version and build numbers added to template

Added

  • Two new theme colours and their corresponding dark versions - Field Green and Meadow Green.

Update 23/10/2025 - Version 5 b:003

Fixed

  • Incorrect data being displayed on 'Today', 'Yesterday' and Today v Yesterday'. pages.

Changed

  • Hidden the information panels on all records pages.
  • Changed to ID used for the Almanac popup so that 'Almanac' can be added to the menu.


Update 25/10/2025 - version 5 b:004

Fixed

  • cmxConfig not being loaded correctly on page change. The only page that has changed is page-control.js

Update 25/10/2025 - Version 5 b:005

Changes

  • Corrected the build number to b:005. This is the latest release. The only page that has changed is page-control.js.

cmxConfig = {

 Charts: {
   Trends: "",
   Historic: "",
 },
 Custom: {
   StandardMenu: false,
   Dropdown: true,
   Theme: "",
   Logo: "",
   BannerImage: "",
   StaticHead: true,
   StaticFoot: true,
   PaddingTop: '2',
   PaddingBottom: '1',
   PaddingUnits: 'em',
 },
 Data: "",
 Menu: 'js/ows-menu.js',
 NOAAReportPath: 'Reports/',
 Gull: {
   Animation: "",
   Speed: 5,
   OnTop: false,
 },
 Records: {
   All: "",
   Monthly: "",
 }

};

Download

You can download the file File:PublicWebsiteV2.zip Version. 5 b:005 25/10/2025 10:00

It extracts to its own folder - apw, so you can extract to wherever without overwriting other content.

It comes with two template files for those of you that will need to generate your own pages to fit in with the theme / styles.

I have now fully updated my Wiki to provide an alternative upload option and provide more detailed information about using this version of the Alternative Public Website.