Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • vodka22 Friend
    #133084

    How to remove all references to the MooTools library in this theme JA Labra …. what need to remove in the script and where… PLS HELP !!!! :confused: :confused: :confused:

    Sherlock Friend
    #269292

    Hi
    please edit index.php(templates/ja_labra folder)
    Search those lines:

    <script language="javascript" type="text/javascript" src="<?php echo $tmpTools->templateurl(); ?>/js/ja.hiddenpanel.js"></script>
    <?php if ($tmpTools->getParam('usertool_modfunc')) : ?>
    <script language="javascript" type="text/javascript" src="<?php echo $tmpTools->templateurl(); ?>/js/ja.ddmod.js"></script>
    <?php endif; ?>
    <!-- js for dragdrop -->

    Comment or remove those lines

    Menalto Friend
    #269312

    When you have removed that you still have mootools included, if you check the source f your site you still have this included(this is from the ja_pyrite):

    <script type="text/javascript" src="/ja_pyrite/media/system/js/mootools.js"></script>
    <script type="text/javascript" src="/ja_pyrite/media/system/js/caption.js"></script>

    so the mootools will still be included.
    but if you include this at top of the index.php file it should be removed:

    <?php
    //remove mootools.js and caption.js
    $headerstuff=$this->getHeadData();
    reset($headerstuff['scripts']);
    foreach($headerstuff['scripts'] as $key=>$value){
    unset($headerstuff['scripts'][$key]);
    }
    $this->setHeadData($headerstuff);
    ?>

    vodka22 Friend
    #269542

    thenks “nguoiabcd” and “Menalto” its remove…. thenks 😎

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

This topic contains 4 replies, has 3 voices, and was last updated by  vodka22 16 years, 2 months ago.

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