User Tools

Site Tools


wiki:aw:config-detail

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
wiki:aw:config-detail [2025/10/19 13:06] – created Neilwiki:aw:config-detail [2025/10/19 14:52] (current) – [Configuration Help Page] Neil
Line 1: Line 1:
 ====== Configuration Help Page ====== ====== Configuration Help Page ======
-For this of you that require more help, this page provides a screenshot of my cmxConfig settings for all four variations of the public website that I current host.+For those of you that require more help, this page provides a screenshot of my domain folder structure and explains how the settings for all four variations of the public website that I current host are configured.
 <WRAP group> <WRAP group>
 <WRAP half column> <WRAP half column>
-<WRAP border ocean>+<WRAP border green> 
 +**My public domain folders**
 {{ :wiki:aw:screenshot-data-location.jpg?direct&400 |columns}} {{ :wiki:aw:screenshot-data-location.jpg?direct&400 |columns}}
 </WRAP> </WRAP>
Line 9: Line 10:
  
 <WRAP half column> <WRAP half column>
-All data is uploaded to the ai2weather.uk/default/ folder as this folder contains the supplied public website as is and that requires data in the same location as the pages.  It has **NO** cmxConfig variable.+All data is uploaded to the **//ai2weather.uk/default //** folder as this contains the supplied public website exactly as supplied with CumulusMX.
  
-All other sites; **ai2weather.uk/**, **apw/** and **cmxAs2/** use my Alternative Public Website templates but also use the same data that is uploaded to the default area.+This requires that the data is in the same location as the pages.  //It has **NO** cmxConfig variable//
 + 
 +All other sites; **ai2weather.uk/**, **apw/** and **cmxAs2/** use my Alternative Public Website templates but also use the same data that is uploaded to the default area.  Thus their entries need to point to that location.
  
 <code JavaScript> <code JavaScript>
 Data: '/default/',     // Uses  the root and points to ai2weather.uk/default/ Data: '/default/',     // Uses  the root and points to ai2weather.uk/default/
-Menu: 'js/ows-menu.js', 
 NOAAReportPath: '/default/Reports/',  // Uses the root and points to ai2/weather.uk/default/Reports/ NOAAReportPath: '/default/Reports/',  // Uses the root and points to ai2/weather.uk/default/Reports/
 </code> </code>
  
-<WRAP warning border>If I created a folder **//ai2weather.uk/apw/json///** and uploaded my data there, I could change its data location to:+These settings could be changed to... 
 +<code JavaScript> 
 +Data: '../default/',     // Uses a relative path down to the root and back up to default/ 
 +NOAAReportPath: '../default/Reports/',  // Uses a relative path down to the root and back up to default/Reports/ 
 +</code> 
 +... and the sites would still work. 
 + 
 +++++ Note | 
 +Each site has other configurations that are different to enable the bar menu, background banner image and logo to be set.  This page **only** deals with the primary settings needed to make your site work. 
 +++++ 
 + 
 + 
 +</WRAP> 
 + 
 +</WRAP> 
 +==== Data (.json & .txt files ) ==== 
 +<WRAP nicebox red border>If I created a folder **//ai2weather.uk/apw/json //** and uploaded my data there, I could change its data location to:
 <code> <code>
 Data: 'json/',  // A relative location below where the pages are stored. Data: 'json/',  // A relative location below where the pages are stored.
 </code> </code>
 </WRAP> </WRAP>
-</WRAP> +==== NOAA Reports ==== 
-</WRAP>+<WRAP nicebox orange border
 +If I created  folder **//ai2weather.uk/noaa//** and uploaded my NOAA reports to it from CumulusMX then I could change the NOAAReportsPath to either:
  
 +<code JavaScript>
 +NOAAReportPath: '/noaa/', // An absolute path to a folder in the root of my domain
 +</code>
 +
 +**or**
 +
 +<code JavaScript>
 +NOAAReportPath: '../noaa/', // A Relative path from my current location, to the root and up to **noaa**.
 +</code>
 +</WRAP>
 +==== The Moon Image ====
 +This is always uploaded to an **//images//** folder within the folder containing the data.  Thus its location is based on the same variable as the data.  This means it may not appear in the main //images// folder of the site.  There is no option within CumulusMX to change this.
wiki/aw/config-detail.1760879219.txt.gz · Last modified: by Neil