OK, I think you need to understand the differences between the C1 and the CMX default web sites.
With C1, the web tags were embedded on every page. So for each update all the pages had to be processed by Cumulus the change the web tags to values and then all the pages re-uploaded to your web site.
MX does it differently. All the data is contained in data file that is created from the websitedataT.json template file.
Just that one file now needs to be uploaded to your web server at each update, and it contains all the updated data.
Each page on your web site then reads the websitedata.json file, and extracts the values from it that correspond to the <span> parameter data-cmxdata="location". So for this example the script on the page would find the "location" value in the JSON file and then put that into the <span> element on your page. It does this for every span that contains a "cmxdata" parameter.
If you want to add new elements to a page that do not exist in the websitedataT.json file, then you will have to first add them to that file using the web tag just like all the others values in there.
So say you wanted to add the indoor temerature. You would add a value in the websitedataT.json of:
Then on the page you wish to display the indoor temperature value you would add at the point you wish it appear:
Code: Select all
<span data-cmxdata="intemp"></span>
NOTE: When you update Cumulus MX. you do not want to overwrite any customisations you have made to websitedataT.json with the default file from the zip archive