Remove Mootools From Joomla Header


/ Published in: PHP
Save to your folder(s)

Remove Mootools from the Joomla Header in a Joomla Template


Copy this code and paste it in your HTML
  1. <?php
  2. $user =& JFactory::getUser();
  3. if ($user->get('guest') == 1) {
  4. $headerstuff = $this->getHeadData();
  5. $headerstuff['scripts'] = array();
  6. $this->setHeadData($headerstuff); }
  7. ?>

URL: http://www.blog.highub.com/cms/joomla-cms/remove-mootools-from-joomla-header/

Report this snippet


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.