WebsitedataT.json: Difference between revisions

From Cumulus Wiki
Jump to navigationJump to search
m
Made Intro clearer
m (surround spans with <nowiki> markings)
m (Made Intro clearer)
This [[Cumulus template file]] is found in the [[Web folder|'''web''']] sub-folder of the MX distribution from release 3.10.1 onwards.
 
It supplies the variable information that can be included in a web page by using [[Webtags|Cumulus web tags]] to create a [[Php_webtags#Option_3:_JavaScript_Object_Notation|JavaScript Object Notation (.json) file]]. In the tables below, the [[webtags|tag name]] together with any [[Webtags/Parameters|input/output modification parameter]], and the JSON attribute is also shown because they do not always match.
 
On the [[New Default Web Site Information|Web Pages]] supplied in the [[Webfiles folder|'''webfiles''']] sub-folder of the MX distribution from release 3.10.1 onwards, table cells that take value, time, and date, information from this file, include a (span) element with an ''id'' that identifies which JSON variable is to be inserted by the relevant script. In the tables below, for simplicity, not every element is shown, often just an example to show you the format, again the JSON attribute and the ID do not always match.
 
 
5,838

edits

Navigation menu