- Click the Custom Code tab and ensure you are adding code into the PagePreload event.
- Add the following code to the input area, then Save the template.
If you are using jQuery in your web pages you will need to register it's use within the Custom Code tab of your templates. The method used below will include the version of jQuery that Contensis uses. If you need to use a newer version of jQuery you will need to add the file in your SiteElements folder and add it into your template using the method above. Using a newer version may affect some of our controls, this can be alleviated by familiarising yourself with jQuery NoConflict .
If you're happy to use the same jQuery version as Contensis, add the following code to your template and Save it.
Was this article helpful?