Here is my first mini-tutorial, maybe it helps some of you.
In many Joomla forums is repeatedly asked:
" How can I remove the mootools scripts which are automatically loaded ? "
For this I use a little php script that can prevent to load the Joomla Mootools Script Framework in Frontend. The script does not remove mootools from the backend area, where it will be for the functionality of Joomla required.
Even if you use Mootools on your side, it would be a better solution to load the framework by hand, because usually you need dont need the whole mootools framework, only partial.
- open your index.php stored in your Template
.../templates/your_template/index.php - go to the head-Tag and place the following Script there
<head></head>
*php get('guest') == 1 or $user->usertype == 'Registered' or $user->usertype == 'Super Administrator') { $headerstuff = $this->getHeadData(); $headerstuff['scripts'] = array(); $this->setHeadData($headerstuff); } ?>
Now you can load only that Scripts to your Head, you realy use. If you also use the mootools Framework, visit the mootools site and download a minified Version, only with the options you use.
Cheers Ben.

+1 (209) 800 1209