How to disable MooTools in joomla2.5

Print PDF

- Log into your Joomla Administration page
- Hover over the ‘Extensions’ tab then click on ‘Template Manager’
- Click on ‘Templates’
- Open your template
- Under ‘Template Master Files’ click on ‘Edit mail page template’
- Under the ‘define( ‘YOURBASEPATH’, dirname(__FILE__) );’ paste in the following code
unset($this->_scripts[JURI::root(true).'/media/system/js/caption.js']);
unset($this->_scripts[JURI::root(true).'/media/system/js/mootools-core.js']);
unset($this->_scripts[JURI::root(true).'/media/system/js/mootools-more.js']);
- Click ‘Save & Close’ to save the changes.

- TEST! – Test your website, ensure pages load, menus work, links work, pictures work etc!

We use cookies to ensure that we give you the best experience on our website. If you continue to use this site, we will assume that you are OK with it. More details...