Forums de discussion

Prevent Liferay from loading jQuery

Dave Willis, modifié il y a 14 années.

Prevent Liferay from loading jQuery

Expert Publications: 301 Date d'inscription: 13/07/09 Publications récentes
Is there a way to prevent Liferay from automatically loading jQuery? I want to load it via Google's AJAX library API so I can have control over what version is loaded and also because it will load faster from Google than it will using Liferay to serve it up. That and Liferay is breaking it somehow.
thumbnail
Amos Fong, modifié il y a 14 années.

RE: Prevent Liferay from loading jQuery

Liferay Legend Publications: 2047 Date d'inscription: 07/10/08 Publications récentes
Hey Dave,

I think these properties will help you:

javascript.barebone.files=
javascript.everything.files=
Dave Willis, modifié il y a 14 années.

RE: Prevent Liferay from loading jQuery

Expert Publications: 301 Date d'inscription: 13/07/09 Publications récentes
That does look like what I need. Thanks! Is there a way to override these for a given theme without overriding it for all of Liferay? We have four completely different sections of our site and I only want to override this for one of them.