Posted By

bubaphex on 09/26/11


Tagged

joomla


Versions (?)

Remove Mootools From Joomla Header


 / Published in: PHP
 

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

Remove Mootools from the Joomla Header in a Joomla Template

  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. ?>

Report this snippet  

You need to login to post a comment.