445
edits
NeilThomas (talk | contribs) |
NeilThomas (talk | contribs) m (→Configuration) |
||
|
=== Configuration ===
This version of the Alternative Public Website comes with a remodelled version of cmxConfig. This is currently in the page-control.js file. You will need to edit this file to make it point to your data.
==== Heading text ====
{|
|-
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: "",▼
}▼
};▼
||
===== Explanation =====
There are now 4 sections:- '''Charts''', '''Custom''', '''Gull''' and '''Records''' as well as three primary settings:- '''Data''', '''Menu''' and '''NOAAReportPath'''.
Of these you will need to check, and probably edit, '''Data''' and '''NOAAReportPath''' as these two provide the path to your data, wherever you have uploaded it.
* '''Data''': This must be set to point to the folder to which you upload your data. By default CumulusMX uploads its data to the same location as the html pages but you may have changed this.
** If you upload your data to the same folder as the pages, this option should be empty.
** If you upload your data to a folder below the pages folder, i.e., to a folder inside the folder containing your pages e.g., '''data''', then this entry can contain a '''relative''' path; i.e. 'data/', './data/'. It could also be an absolute path from the root of your website; i.e. '/<pages>/data/' where <pages> is the folder name containing your website.
** If you upload to a folder, for example called '''data''', above the pages folder, then this entry can be a relative path such as '../data/'. You can also use an absolute path if you prefer.
* '''NOAAReportPath''': This must point to your NOAA Reports. The default installation of CumulusMX places these in a sub-folder of the html pages location. If you have changed this then you will also need to edit this entry.
** The same formats are accepted; relative or absolute paths.
===== The Menu entry =====
This points to the location of the supplied menu structure which is similar the original supplied with the default website. '''Note''' It is '''NOT''' the same so you cannot use the default menu supplied with CumulusMX.
|}
==== Change Log ====
'''Update: 11/10/2025 Version 5.0.1'''
'''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 ===
| |||
edits