Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • chanton Friend
    #146680

    For some reasons, I would like to stop this template from loading mootools as my another extentions with newer ver of mootools is having issue with it.

    I try removing the mootools line in layoutblockhead.php, but mootools still loaded as shown in source view:

    <script type=”text/javascript” src=”/dev/media/system/js/mootools.js”></script>

    How to disable that?

    gray Friend
    #326011

    Mootools is also loaded by Joomla. Also, it seems to be loaded by JA Tabls plugin, could be by JA Popup also. I found this hack:

    After the <head> tag and before <jdoc:include type=”head” /> insert these lines (in your template index.php):
    [php]
    <?php
    $user =& JFactory::getUser();
    if ($user->get(‘guest’) == 1) {
    $headerstuff = $this->getHeadData();
    $headerstuff[‘scripts’] = array();
    $this->setHeadData($headerstuff); }
    ?>
    [/php]

    chanton Friend
    #326151

    Ja megadmenu module also loading mootools, How to disable that?

    Anonymous Moderator
    #326457

    HI chanton

    Could you give me your live url?

Viewing 4 posts - 1 through 4 (of 4 total)

This topic contains 4 replies, has 3 voices, and was last updated by Anonymous 14 years, 11 months ago.

We moved to new unified forum. Please post all new support queries in our New Forum