Modules: Difference between revisions

62 bytes removed ,  10:01, 14 April 2021
m
No edit summary
Line 25: Line 25:


== Javascript libraries ==
== Javascript libraries ==
Each module has its own parameters but for modules which use javascript or Highcharts or Leaflet libraries there are additional considerations (which btw are also valid for individual module generation). It is assumed that modules are used within a website so there is no document load function to start the javascript or other initialisation.
Each module has its own parameters but for modules which use javascript, Highcharts or Leaflet libraries there are additional considerations. It is assumed that modules are used within a website so there is no document load function to start the javascript or other initialisation.


As [https://jquery.com/ jQuery] is a requirement for almost all modules (with menu's), CumulusUtils has provided a parameter ''GeneratejQueryInclude'' in the section [General] which the user can set to true or false. If his site has already a general inclusion of this library or another version, set it to false. If the site has no other use for jQuery, set it to true. If you have no idea what I am talking about, set it to true or start reading about jQuery.
As [https://jquery.com/ jQuery] is a requirement for almost all modules (with menu's), CumulusUtils has provided a parameter ''GeneratejQueryInclude'' in the section [General] which the user can set to true or false. If his site has already a general inclusion of this library or another version, set it to false. If the site has no other use for jQuery, set it to true. If you have no idea what I am talking about, set it to true or start reading about jQuery.