File:PublicWebsiteV2.zip and AlternativePublicWebsite: Difference between pages
NeilThomas (talk | contribs) (NeilThomas uploaded a new version of File:PublicWebsiteV2.zip) |
NeilThomas (talk | contribs) m (→Configuration) |
||
| Line 1: | Line 1: | ||
| ⚫ | |||
== Summary == |
|||
| ⚫ | |||
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 [https://ai2weather.uk/apw/ ai2weather.uk/apw/] and at [https://ai2weather.uk/cmxAs2/ ai2weather.uk/cmxAs2/]. Both these sites use the same template but are configured differently showing some of the features you can use. |
|||
=== Configuration === |
|||
{| class="wikitable" |
|||
|+ 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 |
|||
'''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 oen 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. |
|||
|| <code> |
|||
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: "", |
|||
} |
|||
}; |
|||
</code> |
|||
|} |
|||
=== Download === |
|||
You can download the file |
|||
[[File:Https://www.cumuluswiki.org/images/b/ba/PublicWebsiteV2.zip|alt=Version 5.0.0 Alternative Public Website| here]]. |
|||
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. |
|||
Revision as of 09:58, 11 October 2025
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
| 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 Fixes:
Changes:
|
|
Download
You can download the file here.
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.
File history
Click on a date/time to view the file as it appeared at that time.
| Date/Time | Dimensions | User | Comment | |
|---|---|---|---|---|
| current | 17:01, 25 October 2025 | (528 KB) | NeilThomas (talk | contribs) | Corrected build number to 005 |
| 08:59, 25 October 2025 | (528 KB) | NeilThomas (talk | contribs) | Fix missing comma in page-control.js | |
| 10:18, 24 October 2025 | (528 KB) | NeilThomas (talk | contribs) | Build 004 - Fix to cmxConfig issues | |
| 14:23, 23 October 2025 | (528 KB) | NeilThomas (talk | contribs) | Correction as of 23-10-2025 | |
| 15:36, 17 October 2025 | (527 KB) | NeilThomas (talk | contribs) | Removed personal items | |
| 10:29, 17 October 2025 | (1.23 MB) | NeilThomas (talk | contribs) | Fix to historic chart time zone, spacing of units on first 4 pages. | |
| 08:44, 16 October 2025 | (1.23 MB) | NeilThomas (talk | contribs) | V5.0.2 Fix to tooltip, accessibility and info text on dashboard | |
| 16:20, 11 October 2025 | (525 KB) | NeilThomas (talk | contribs) | Fix trends charts and added extra features as requested. | |
| 16:01, 6 October 2025 | (525 KB) | NeilThomas (talk | contribs) | Initial release of version 5.0.0 of the Alternative Public Website |
You cannot overwrite this file.
File usage
There are no pages that use this file.