Author Topic: jQuery version?  (Read 393 times)


  • Jr. Member
  • **
  • Posts: 197
jQuery version?
« on: September 27, 2018, 12:43:49 pm »
I notice that VM3 (3.2.15) ships with jQuery v1.11.3 and jQueryUI v1.9.2 (in components/com_virtuemart/assets/js/).

These are very old versions and have known security vulnerabilities (medium and high risk).


1) Is this the standard jQuery that you find in other CDNs?

2) What is the most up-to-date jQuery/UI branch that is compatible with VM3.2+ series?

We are looking to replace our libraries asap.

Thank you

Studio 42

  • Contributing Developer
  • Sr. Member
  • *
  • Posts: 3821
  • Joomla & Virtuemart developper
    • Studio 42 - Virtuemart & Joomla extentions
  • VirtueMart Version: 2.6 & 3
Re: jQuery version?
« Reply #1 on: September 27, 2018, 13:40:01 pm »
Virtuemart do not load directly jQuery in Joomla 3, but use Joomla
Code: [Select]
//Very important convention with other 3rd pary developers, must be kept. DOES NOT WORK IN J3
if (JFactory::getApplication ()->get ('jquery')) {
return FALSE;
} else {

} else {
//return true;
About jQueryUI, you can overide it in templates/YOURTEMPLATE/js directly
And for Joomla core script, you have to do it in in ui subfolder

media/jui /js/bootstrap.js override templates/MONTEMPLATE/js/jui/bootstrap.js
media/ jui/css/ bootstrap.css override templates/MONTEMPLATE/ css/jui/bootstrap.css
media/ jui/images/ image.png override templates/MONTEMPLATE/ images/jui/image.png
Note that it not always work, because some component do not follow the rules.