How to Importing jQuery into Joomla? Home Forums Joomla Support Forum How to Importing jQuery into Joomla? Browse All Products 32 Joomla 9 WordPress 7 Html 11 Php 5 0 Login to Ask a Question All Forums 111 Joomla Support 101 WordPress Support 2 Bootstrap Support 1 PHP Support 3 General Support 4 How to Importing jQuery into Joomla? New Issue Joomla Support Stella 19 Apr 2018 (1 Ratings) What's the best way to import jQuery into Joomla? Is there a specific place where the import should be done to use one jquery library site?Thank you jquery library joomla 1 Responses AppClave 6 years ago #190 Hi,This is the php code we used on all version of JoomlaJoomla 2.5 if(!JFactory::getApplication()->get('jquery')){ JFactory::getApplication()->set('jquery',true); $document = JFactory::getDocument(); $document->addScript(JUri::root() . "templates/template_name/js/jquery.js"); } Joomla 3.x (no conflict mode): JHtml::_('jquery.framework'); Joomla 3.x (normal mode): JHtml::_('jquery.framework', false); You need to insert this code into the index.php of your template Best Regards AppClave Team Reply Submit Your Response Sign up for free to join this conversation on AppClave. Already have an account? Login into comment
How to Importing jQuery into Joomla?
How to Importing jQuery into Joomla?
What's the best way to import jQuery into Joomla? Is there a specific place where the import should be done to use one jquery library site?
Thank you
1 Responses
Submit Your Response
Already have an account? Login into comment