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

Both sides previous revisionPrevious revision
Next revision
Previous revision
wiki:aw:config-detail [2025/10/19 14:31] – [Configuration Help Page] Neilwiki:aw:config-detail [2025/10/19 14:52] (current) – [Configuration Help Page] Neil
Line 3: Line 3:
 <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 contains the supplied public website.+All data is uploaded to the **//ai2weather.uk/default //** folder as this contains the supplied public website exactly as supplied with CumulusMX.
  
 This requires that the data is in the same location as the pages.  //It has **NO** cmxConfig variable//. 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.+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>
 +
 +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 | ++++ 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. 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>
  
 </WRAP> </WRAP>
 ==== Data (.json & .txt files ) ==== ==== 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:+<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.
Line 47: Line 56:
 </code> </code>
 </WRAP> </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.1760884313.txt.gz · Last modified: by Neil