Using a custom jQuery version

If you are not satisfied with the jQuery version provided by eXo Platform, you can integrate your desired version. It is common that products built over eXo Platform depend on the third party JavaScript frameworks depending on other versions of jQuery libraries, so deploying other jQuery libraries is unavoidable at some points. Multiple jQuery instances within a web page conflict with global variables, however the module system allows you to use such a library with no hassles.

The following example is about a jQueryPortlet using jQuery version 1.6.4, which is configured properly:

(function() {
  return jQuery.noConflict(true);


Return to the beginning part of the Adding JavaScript to your site section to learn about use of JavaScript in eXo Platform.

Copyright ©. All rights reserved. eXo Platform SAS
blog comments powered byDisqus