Import jQuery into Joomla Without Conflict
Import jQuery into Joomla Content Management System
Joomla content management system is one of the most preferred CMS over the Internet. Joomla comes with mootools. You need to import jQuery into Joomla. But, while importing jQuery there may be times when you have to face problems like:
- Importing jQuery in each module makes the site very slow.
- It crashes while importing jQuery into Joomla.
How to Import jQuery into Joomla
Inorder to simply the process to import jQuery into Joomla, use the following code.
$document =& JFactory::getDocument();
$document->addScript(JURI::root() . “templates/template_name/js/jquery-1.8.2.js”); } ?>
This code ensures that only one jQuery is loaded at a time. So this prevents the site from being slow. In case you face any difficulty to import jQuery in Joomla, request a quote. Our team of professional will assist you in the process.