Category:Cumulus MX: Difference between revisions

345 bytes added ,  10:00, 21 June 2020
m
Line 486: Line 486:
#'''Highstock'''
#'''Highstock'''
#*At the moment, as hinted in previous section, there is an old version of Highstocks included in the '''webfiles/lib''' folder.
#*At the moment, as hinted in previous section, there is an old version of Highstocks included in the '''webfiles/lib''' folder.
#*You are however advised to use the Highcharts CDN and load the file whenever it is needed from there.
#* However, that is not used, instead (like admin interface) an old version is loaded from a CDN.
#*Alternatively, you could download from that site, the latest version, and remember to download again, whenever it is updated.
#*Be careful if you also load the current version for use on web pages not produced by MX, that the browser does not try to reuse your latest version and not recognise that MX wants an older version.
#'''jQuery'''
#'''jQuery'''
#*In this library folder there are two files:
#*In this library folder there are two files:
##jquery.tmpl.js
##jquery.tmpl.js
##*This script replaces spaces by tabs for better indentation. It dates from June 2014.
##*This script replaces spaces by tabs for better indentation. It dates from June 2014.
##*This script uses a feature '''CommonJS''' that is no longer supported by jQuery.
##*This script uses a feature '''CommonJS''' that is no longer supported by jQuery, so again if somewhere else on your website you use a more modern jQuery you may have problems.
##jquery-latest.min.js
##jquery-latest.min.js
##*The web template '''trendsT.htm''' uses version 1.9.1 of jQuery loaded from this badly named file, there is nothing ''latest'' about it.
##*The web template '''trendsT.htm''' uses version 1.9.1 of jQuery loaded from this badly named file, there is nothing ''latest'' about it.
##*Again, this old version of jQuery included in the '''webfiles/lib''' folder is the only old version that jQuery themselves warn you not to use because there is an error in it.  
##*Ironically, the old version of jQuery that has been selected to be included in the '''webfiles/lib''' folder is the '''only old version that jQuery themselves warn you not to use''' because there is an error in it. However, the way MX uses jQuery does not hit the error in normal use, but you might see an error message about undefined variables if something else goes wrong.  
##*Again, you can choose to use the latest version from a suitable CDN, such as the jQuery site itself, and remember to download again, whenever it is updated.
##*Again, you can cannot use the latest version from a suitable CDN, such as the jQuery site itself, because of the jquery.tmpl.js restriction.
#'''SteelSeries'''
#'''SteelSeries'''
#*MX uses a hacked version of the [[SteelSeries Gauges|steel series]] library described elsewhere for all the gauges (see dashboard and gauges tabs) in MX.
#*MX uses a hacked version of the [[SteelSeries Gauges|steel series]] library described elsewhere for all the gauges (see dashboard and gauges tabs) in MX.
5,838

edits