New Default Web Site Information: Difference between revisions

From Cumulus Wiki
Jump to navigationJump to search
m
 
==== 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.
 
The uploaded data file is created from a [[Cumulus_template_file|template]] file called [[WebsitedataT.json|/web/websitedataT.json]] using web tags.
You can create a copy of this file and customise the tags as you wish.
 
It is ''not recommended'' to edit supplied <code>/web/websitedataT.json</code> file directly, you risk losing any changes you make with every update.
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.
 
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.
You also need to change the Internet Settings/Interval file list to not process or upload the standard websitedata.json file.
 
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).
It is not recommended to edit supplied /web/websitedataT.json 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, ornor upload, the standard ''websitedata.json'' file.
 
==== I want to change the colour theme ====
5,838

edits

Navigation menu