1,651
edits
Line 25: | Line 25: | ||
== Javascript libraries == | == Javascript libraries == | ||
The usage of javascript libraries like jQuery, Highcharts or Leaflet is controlled by the user who already may have these libraries included in his website on another level. In that case a second inclusion is not wanted. Therefore two explicit parameters exist which govern these situations: ''GeneratejQueryInclude'' and ''DoLibraryIncludes''. | |||
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 | 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 you have no idea what this is about, set it to true or start reading about javascript libraries. | ||
Libraries for Highcharts or Leaflet are | Libraries for Highcharts or Leaflet are included when required in a specific module IF the inifile parameter ''DoLibraryIncludes'' is true (default). Set to false if you already use the libraries on another level. If you have no idea what this is about, set it to true or start reading about javascript libraries. | ||
If you use the [[Website Generator]], '''set both parameters to false'''. | |||
[[Category:CumulusUtils]] | [[Category:CumulusUtils]] |