JHTML-JQUERY-FRAMEWORK-001

JHtml::_('jquery.framework')

JHtml::_('jquery.framework') in templates

Forcing jquery.framework from a Joomla 6 site template fights Cassiopeia/Atum asset policy and still does not fix MooTools-era code.

JHtml::_('jquery.framework')Asset dependency, not a forced load in index.php

Dies at Joomla 5 → 6J3: Works nativelyJ4: Changed behaviourJ6: Changed behaviourBC plugin: not applicableYou rewrite thisTemplates

Symptoms people search

double jquery · bootstrap and jquery fighting

Replace this code

Swap JHtml::_('jquery.framework') for Asset dependency, not a forced load in index.php.

Joomla 3

Remove or stop calling this

JHtml::_('jquery.framework');
JHtml::_('bootstrap.framework');

Joomla 4 / 6

Use this instead

// Site template: do not force jQuery.
// Extension: list jquery as a dependency in joomla.asset.json if needed.

How to fix it

  1. 1Remove the helper from index.php.
  2. 2Only extensions that still need jQuery should declare it.

Also known as

jquery.framework · bootstrap.framework

Related issues

Get in touch

Have a project in mind? Let's talk about it.

Tell us what you're building. Whether it's a new site, an online store, a mobile app, or something that needs AI under the hood, we'll get back to you within a business day.

Free consultation
No commitment, no pressure
Reply within 24 hours
Usually much faster

Prefer a direct conversation?

Request a project quote

Tell us about your project

Fill out the quick form and we'll reach out.