AlternativePublicWebsite: Difference between revisions

From Cumulus Wiki
Jump to navigationJump to search
m
 
(4 intermediate revisions by the same user not shown)
=== Download ===
 
You can download the file from [https://wwwwiki.oaktreewebs.coai2weather.uk/wiki/doku.php?id=wiki:aw:altwebsite my NEW Wiki] Version 5.011 1624/0204/2026 1017:1137
 
It extracts to its own folder - apw, so you can extract to wherever without overwriting other content.
It comes with one template file for those of you that will need to generate your own pages to fit in with the theme / styles.
 
I have now fully updated [https://wwwwiki.oaktreewebs.coai2weather.uk/wiki/doku.php?id=wiki:aw:start my NEW Wiki] to provide an alternative upload option and provide more detailed information about using this version of the Alternative Public Website.
 
=== Configuration ===
 
This version of the Alternative Public Website comes with a remodelled version of cmxConfig. Thiswhich is nowheld in its own file - config.js. You will need to edit this file to make it point to your data.
 
==== Heading text ====
| style="width: 60em;"|
 
<nowiki>let cmxConfig = {
// Edit this to set your required configuration
"Custom": {
"StandardMenuSideMenu": falsetrue, // Set to true orto use a sidebar falsemenu
"DropdownBannerStyle": true"thin", // Accepts 'thin' to reduce //the setheight toof the banner; only trueon orsidebar falsenavigation
"Theme": "", // Set to the name of an existing theme WITHOUT 'css'
"Logo": "", // Set to the absolute or relative path and name of the image to use OR 'None'leave blank
"BannerImage": "", // As above or leave blank
"BannerPosition":"center centerbottom 40%", // Use allowable css values including units
},
"DataPath": "", // Set to the absolute or relative path of your data
"Geometry": {
"StaticHead": true, // true or false accepted
"Units": "em", // Accepts any valid css unit
},
"Gull": { // Affects the standing gull only
"Gull": {
"Animation": "", // Values: Blank, 'Expand', 'Enter left', 'Enter right' or 'Drop' only
"Speed": 5, // Positive numeric values only (can be real)
"OnTop": truefalse, // true or false
},
"Panels": {
"Shadows": "", // Blank, Basic or Enhanced only
"VariableHeightsVariableHeight": falsetrue, // true or false
},
"Menu": "jsonjs/ows-menu.js", // Relative path and name of menu script.
"NOAAPath": "Reports/", // Absolute or relative path to your NOAA Reports
}
// You are advised to leave these blank.
let cmxSession = {
"Records": {
"Monthly": "", // Numeric integer representing to month to show - zero based
"Historic":"" // One of: Temp. Press, Wind, WindDir, Rain, Humidity, Solar, DegDays, TempSum, ChillHrs, Snow
}
}
}</nowiki>
|style="padding-left: 1em;"|
===== Explanation =====
 
==== Change Log ====
'''Version 5.1''' ''Dated:124/04/2026''
 
Yet another re-write to remove w3v5.css which is based on the w3Schools w3.css stylesheet. Most of the styles provided by this were simply not used; those that were have been ported into the main.css stylesheet.
 
The Menu has been simplified and there are now two variations: a traditional bar menu at the top of the screen which reduces to a standard mobile menu on small devices, and a modern 'sidebar' menu which opens at the side of your browser. You can choose which to use. Various other improvements have been made particularly in consolidating stylesheets and loading only those styles which are needed on each page. There are more options available to you for configuration.
 
'''Version 5.01''' ''dated: 16/02/2026''
455

edits

Navigation menu