Developer manual
Using jQuery with Spring
Configuration
Spring CMS supports jQuery. To switch Spring to jQuery for a site, follow this example configuration
settings.xml
In settings.xml add the following:
<settings>
<library>
<javascript>jquery</javascript>
</library>
... existing config ...
</settings>
The above will trigger Spring to only load jQuery and jQuery plugins.
layout.xml
You can make the following changes to layout.xml:
Change:
<layout mode="advanced javascript">
To:
<layout>
You can also delete the following from layout.xml if it is there:
<javascript-libraries/>