Category:Cumulus MX: Difference between revisions

m
Line 573: Line 573:
#**I created a new folder '''obsolete''', I moved the various highstock and highchart files from existing folder "\CumulusMX\interface\lib\highstock\js", and the folders "modules" and "themes" that were in the existing folder into my new folder.
#**I created a new folder '''obsolete''', I moved the various highstock and highchart files from existing folder "\CumulusMX\interface\lib\highstock\js", and the folders "modules" and "themes" that were in the existing folder into my new folder.
#**I had downloaded the 8.04 versions from [https://www.highcharts.com/blog/download/ the Highstock link] and saved that on my partition I just use for software downloads.  So I copied the files and folders from that download to "\CumulusMX\interface\lib\highstock\js" to replace the ones I moved out. So now (in March 2020) my admin interface is also using Highstock version 8.04 released 10 March 2020 to match the version I use with my own web pages on my web server.  
#**I had downloaded the 8.04 versions from [https://www.highcharts.com/blog/download/ the Highstock link] and saved that on my partition I just use for software downloads.  So I copied the files and folders from that download to "\CumulusMX\interface\lib\highstock\js" to replace the ones I moved out. So now (in March 2020) my admin interface is also using Highstock version 8.04 released 10 March 2020 to match the version I use with my own web pages on my web server.  
#The MX package also contains jQuery, again within both the interface folder "'''\CumulusMX\interface\lib\jquery'''" and the webfiles folder '''T:\CumulusMX\webfiles\lib\jquery'''. Again, I had a later version on my web server, used by several of my existing web pages and I was worried this might cause a problem.
#The MX package also contains jQuery, again within both the interface folder "'''\CumulusMX\interface\lib\jquery'''" and the webfiles folder '''T:\CumulusMX\webfiles\lib\jquery'''. I was using version 3.5.0  on my web server, it is used by several of my existing web pages and I was worried a problem might result from the MX package including an old jQuery version 1.9.1, that is 2014 vintage and very obsolete.  
#* MX package includes an old jQuery version 1.9.1, that is 2014 vintage and very obsolete. I was using version 3.5.0 for my web pages.
#* As the admin '''interface'''  is an integrated set of files, I had no guarantee that no guarantee that the MX admin interface (the screens showing settings and the screens showing weather information) will work fully with latest jQuery version so I decided '''I would not update the admin interface'''.
#* As the admin '''interface'''  is an integrated set of files, I had no guarantee that no guarantee that the MX admin interface (the screens showing settings and the screens showing weather information) will work fully with latest jQuery version so I have not updated the admin interface.
#*I am not ''using MX web pages'', so I can't tell you if they do work with a more modern jQuery, anyway I did not worry about updating folder '''T:\CumulusMX\webfiles\lib\jquery'''.
#*If ''you are using MX web pages'', if they work with a more modern jQuery and I can't tell you if they do,  you will find the latest version you can download from '''https://jquery.com/download/''' is called '''jquery-3.5.0.min.js''' (when you read this, it might be an even later version). If you download that, you need to rename that new jQuery to "jquery-latest.min.js" to match the name that MX uses. It is easier to edit the name of the file that you download, than to try to work out which MX files use jQuery and edit the name in all those each time there is a new jQuery release.
#*If you need the latest jQuery version you can download from '''https://jquery.com/download/'''. You will find it is called '''jquery-3.5.0.min.js''' (when you read this, it might be an even later version). If you download that, you need to rename that new jQuery to "jquery-latest.min.js" to match the name that MX uses. It is easier to edit the name of the file that you download, than to try to work out which MX files use jQuery and edit the name in all those each time there is a new jQuery release.
#**With my own web pages, the only ones that use jQuery are those generated from Cumulus templates using web tags, and I include "jQuery" in the name of all those templates to remind me which files to edit (and I use a batch editor that edits all the files with one instruction) when I want them to use a new jQuery version.
#**With my own web pages, the only ones that use jQuery are those generated from Cumulus templates using web tags, and I include "jQuery" in the name of all those templates to remind me which files to edit (and I use a batch editor that edits all the files with one instruction) when I want them to use a new jQuery version.
#The MX package also included "alpaca" old version 1.1.3 which predates 29 July 2014, the latest I found ['''http://www.alpacajs.org''' is the alpaca home page] was version: 1.5.27 released on 14 May 2019, again there is no guarantee that the MX user interface will work fully with these new versions, so I use what MX provides in "\CumulusMX\interface\lib\alpaca".
#The MX package also included "alpaca" old version 1.1.3 which predates 29 July 2014 in "\CumulusMX\interface\lib\alpaca", looking at ['''http://www.alpacajs.org''' is the alpaca home page] the latest version is 1.5.27 released on 14 May 2019, again there is no guarantee that the MX user interface will work fully with these new versions, so I stayed with what MX provides.


= Updating to a new MX release =
= Updating to a new MX release =
5,838

edits