Remove Mootools From Joomla 1.5 Website
So how do i remove mootools from the header?
Put this code at the top of your template.
<?php $user =& JFactory::getUser(); //Get the current head data $headerstuff = $this->getHeadData(); //create new empty array for the scripts key, which store all the scripts $headerstuff['scripts'] = array(); //replace into Head Data $this->setHeadData($headerstuff); ?>
That should do the trick.