New Default Web Site Information: Difference between revisions

m
Line 183: Line 183:


==== I want to customise/localise the data Cumulus MX uploads in the JSON data file ====
==== I want to customise/localise the data Cumulus MX uploads in the JSON data file ====
The uploaded data file is created from a template file /web/websitedataT.json using web tags.


You can create a copy of this file and customise the tags as you wish.
The uploaded data file is created from a [[Cumulus_template_file|template]] file called [[WebsitedataT.json|/web/websitedataT.json]] using web tags.


Then add your new template JSON file to the Cumulus Extra Files list, with process and FTP enabled, for the remote filename use the default websitedata.json so that the template scripts will pick it up without alteration.
It is ''not recommended'' to edit supplied <code>/web/websitedataT.json</code> file directly, you risk losing any changes you make with every update.


You also need to change the Internet Settings/Interval file list to not process or upload the standard websitedata.json file.
You can create a copy of this file, in a new folder with a slightly modified file-name, and customise the tags as you wish.


It is not recommended to edit supplied /web/websitedataT.json file directly, you risk losing any changes you make with every update.
Then add the path to your new template JSON file to the Cumulus [[MX_Administrative_Interface#Extra_Web_Files|Extra Files]] list, with process and FTP enabled, for the remote filename use the default '''websitedata.json''' (so that the template scripts will pick it up without alteration).
 
You also need to change the '''Internet Settings > Interval''' file list to not process, nor upload, the standard ''websitedata.json'' file.


==== I want to change the colour theme ====
==== I want to change the colour theme ====
5,838

edits