wiki:aw:configure
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| wiki:aw:configure [2025/10/13 08:41] – [Information] Neil | wiki:aw:configure [2025/10/20 08:32] (current) – [Dynamic Configuring] Neil | ||
|---|---|---|---|
| Line 3: | Line 3: | ||
| **Like all previous versions of the alternative website, all settings are now held in one place - the cmxConfig object held in the <color # | **Like all previous versions of the alternative website, all settings are now held in one place - the cmxConfig object held in the <color # | ||
| - | This object holds the location of the menu to use, the location of your data, the path and name of your menu, the location of your NOAA Reports and other features that the website uses. This object is stored locally on your machine as ' | + | This object holds the location of the menu to use, the location of your data, the path and name of your menu, the location of your NOAA Reports and other features that the website uses. This object is stored locally on your machine as ' |
| </ | </ | ||
| ===== Initial Configuration ===== | ===== Initial Configuration ===== | ||
| Line 22: | Line 22: | ||
| * Entries that start with **/** will be an absolute path to your data. | * Entries that start with **/** will be an absolute path to your data. | ||
| * Other initial characters will interpret the entry as a relative path. | * Other initial characters will interpret the entry as a relative path. | ||
| + | * See [[: | ||
| ++++ | ++++ | ||
| Line 32: | Line 33: | ||
| === Custom === | === Custom === | ||
| This area is used to configure other user settings. | This area is used to configure other user settings. | ||
| - | |||
| - | <wrap info> | ||
| </ | </ | ||
| Line 90: | Line 89: | ||
| ++++ | ++++ | ||
| - | </ | + | ==== Charts & Records |
| - | ==== The remaining entries | + | Both these entries are dynamic in that they are used by the site to record |
| - | + | === Charts === | |
| - | As stated above, | + | The charts |
| + | ++++ See more | | ||
| If **you** set them in cmxConfig then the chart you set will be the one visitors see first. | If **you** set them in cmxConfig then the chart you set will be the one visitors see first. | ||
| Line 102: | Line 101: | ||
| Of course, if your system does not generate a chart it is pointless to force it to display by default. | Of course, if your system does not generate a chart it is pointless to force it to display by default. | ||
| - | + | ++++ | |
| - | As the Records pages already select the most appropriate record set, I have not included the options for these but there is no reason why they cannot be pre-set: use 1 to 11 for months and **Alltime**, | + | </ |
| ==== Dynamic Configuring ==== | ==== Dynamic Configuring ==== | ||
| <WRAP nicebox red> | <WRAP nicebox red> | ||
| - | In previous versions | + | Previously |
| + | ++ See more | | ||
| + | You can still add this command | ||
| - | My preferred method is to use the **Developer Tools** available in most browsers and to edit the sessionStorage variable directly. | + | **%%sessionStorage.clear()%%** |
| + | |||
| + | <wrap alert 50% center>< | ||
| + | |||
| + | ++ | ||
| + | |||
| + | My preferred method is to use the **Developer Tools** available in most browsers and to edit the sessionStorage variable directly. | ||
| If this is not possible, for whatever reason, simply close the browser and reload the page. The session variable will have been deleted and whatever you have stored in the **page-control.js** cmxConfig variable will be used. | If this is not possible, for whatever reason, simply close the browser and reload the page. The session variable will have been deleted and whatever you have stored in the **page-control.js** cmxConfig variable will be used. | ||
| </ | </ | ||
| + | ===== Dashboard Information Panel ===== | ||
| + | <WRAP nicebox orange> | ||
| + | The contents of this panel can now be changed without editing the **index.html** page. | ||
| + | <WRAP alert center 60% round> | ||
| + | === You should edit this file to include the text that you want to appear on the dashboard page. === | ||
| + | </ | ||
| + | A new **// | ||
| + | </ | ||
wiki/aw/configure.1760344902.txt.gz · Last modified: by Neil
