[Fully removed in next FC v4-beta1] How to remove Mootools?

More
3 years 4 months ago - 3 years 4 months ago #80574 by nikitagupta2106
I'm shocked that Flexicontent calls Mootools. How can I remove this? It's in "FLEXIcontent Google-Map module" and Categories menu.

I'm using the latest version of Joomla 3.9.28 and Flexicontent v 3.3.9

Sure there's an ugly way to do it by using unset. However, I feel like there could be some configuration that I'm missing within FlexiContent.
Last edit: 3 years 4 months ago by ggppdk.

Please Log in or Create an account to join the conversation.

More
3 years 4 months ago #80578 by micker
Replied by micker on topic How to remove Mootools?
hello it strange we remove mootool dependency
you use recent template version ?
can you try this plugin and check if all it good ?
extensions.joomla.org/extension/mootools-enabler-disabler/

FLEXIcontent is Free but involves a very big effort on our part.
Like the our support? (for a bug-free FC, despite being huge extension) Like the features? Like the ongoing development and future commitment to FLEXIcontent?
-- Add your voice to the FLEXIcontent JED listing reviews. Thanks![/size]

Please Log in or Create an account to join the conversation.

More
3 years 4 months ago - 3 years 4 months ago #80580 by nikitagupta2106
I removed it manually using "unset" in Joomla template. So there's no need for that plugin.

Mootools is loaded in the following Menu & Module:
1. MENU: FLEXIContent » Category » Categories
2. MODULE: FLEXIcontent Google-Map

Yes, I'm using the latest versions. Template of Flexicontent? I don't know. I'm using only the pre-installed templates.
Last edit: 3 years 4 months ago by nikitagupta2106.

Please Log in or Create an account to join the conversation.

More
3 years 4 months ago #80581 by micker
Replied by micker on topic How to remove Mootools?
i didn't see any mootool code in googlemap module
=> what is your template for category view ?

FLEXIcontent is Free but involves a very big effort on our part.
Like the our support? (for a bug-free FC, despite being huge extension) Like the features? Like the ongoing development and future commitment to FLEXIcontent?
-- Add your voice to the FLEXIcontent JED listing reviews. Thanks![/size]

Please Log in or Create an account to join the conversation.

More
3 years 4 months ago - 3 years 4 months ago #80582 by nikitagupta2106
My template for the entire website is custom-made by me. It only has links to bootstrap.min.js, bootstrap.min.css and jquery.min.js 

This is the homepage source with only "FLEXIcontent Google-Map" module. The menu is linked to "Articles » Featured Articles"

<head>
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
    <base href="http://localhost/yumsing/" />
    <meta http-equiv="content-type" content="text/html; charset=utf-8" />
    <meta name="generator" content="Joomla! - Open Source Content Management" />
    <title>Home</title>
    <link href="/yumsing/index.php?format=feed&amp;type=rss" rel="alternate" type="application/rss+xml" title="RSS 2.0" />
    <link href="/yumsing/index.php?format=feed&amp;type=atom" rel="alternate" type="application/atom+xml" title="Atom 1.0" />
    <link href="/yumsing/media/system/css/frontediting.css?e2a7f1b8b9ed3903a4bb7087ad669545" rel="stylesheet" type="text/css" />
    <link href="/yumsing/components/com_flexicontent/assets/css/flexicontent.css?e4a3bd95f7afd63dc06ee1eb98a91637" rel="stylesheet" type="text/css" />
    <link href="/yumsing/media/system/css/modal.css?e2a7f1b8b9ed3903a4bb7087ad669545" rel="stylesheet" type="text/css" />
    <link href="/yumsing/./modules/mod_flexigooglemap/assets/css/style.css" rel="stylesheet" type="text/css" media="screen" />
    <script type="application/json" class="joomla-script-options new">{"csrf.token":"17b36a563bf99ff5394cd045b9f8517f","system.paths":{"root":"\/yumsing","base":"\/yumsing"},"system.keepalive":{"interval":840000,"uri":"\/yumsing\/index.php\/component\/ajax\/?format=json"}}</script>
    <script src="/yumsing/media/jui/js/jquery.min.js?e2a7f1b8b9ed3903a4bb7087ad669545" type="text/javascript"></script>
    <script src="/yumsing/media/jui/js/jquery-noconflict.js?e2a7f1b8b9ed3903a4bb7087ad669545" type="text/javascript"></script>
    <script src="/yumsing/media/jui/js/jquery-migrate.min.js?e2a7f1b8b9ed3903a4bb7087ad669545" type="text/javascript"></script>
    <script src="/yumsing/media/system/js/caption.js?e2a7f1b8b9ed3903a4bb7087ad669545" type="text/javascript"></script>
    <script src="/yumsing/media/jui/js/bootstrap.min.js?e2a7f1b8b9ed3903a4bb7087ad669545" type="text/javascript"></script>
    <script src="/yumsing/media/system/js/frontediting.js?e2a7f1b8b9ed3903a4bb7087ad669545" type="text/javascript"></script>
    <script src="/yumsing/media/system/js/mootools-core.js?e2a7f1b8b9ed3903a4bb7087ad669545" type="text/javascript"></script>
    <script src="/yumsing/media/system/js/core.js?e2a7f1b8b9ed3903a4bb7087ad669545" type="text/javascript"></script>
    <script src="/yumsing/media/system/js/mootools-more.js?e2a7f1b8b9ed3903a4bb7087ad669545" type="text/javascript"></script>
    <script src="/yumsing/media/system/js/modal.js?e2a7f1b8b9ed3903a4bb7087ad669545" type="text/javascript"></script>
    <script src=" maps.google.com/maps/api/js?libraries=ge...&key=KEY&language=en " type="text/javascript">
    <!--[if lt IE 9]><script src="/yumsing/media/system/js/polyfill.event.js?e2a7f1b8b9ed3903a4bb7087ad669545" type="text/javascript"></script><![endif]-->
    <script src="/yumsing/media/system/js/keepalive.js?e2a7f1b8b9ed3903a4bb7087ad669545" type="text/javascript"></script>
    <script type="text/javascript">
jQuery(window).on('load',  function() {
                new JCaption('img.caption');
            });
jQuery(function($){ initTooltips(); $("body").on("subform-row-add", initTooltips); function initTooltips (event, container) { container = container || document;$(container).find(".hasTooltip").tooltip({"html": true,"container": "body"});} });
jQuery(function($){ initPopovers(); $("body").on("subform-row-add", initPopovers); function initPopovers (event, container) { $(container || document).find(".hasPopover").popover({"html": true,"trigger": "hover focus","container": "body"});} });
        jQuery(function($) {
            SqueezeBox.initialize({});
            initSqueezeBox();
            $(document).on('subform-row-add', initSqueezeBox);

            function initSqueezeBox(event, container)
            {
                SqueezeBox.assign($(container || document).find('a.modal').get(), {
                    parse: 'rel'
                });
            }
        });

        window.jModalClose = function () {
            SqueezeBox.close();
        };

        // Add extra modal close functionality for tinyMCE-based editors
        document.onreadystatechange = function () {
            if (document.readyState == 'interactive' && typeof tinyMCE != 'undefined' && tinyMCE)
            {
                if (typeof window.jModalClose_no_tinyMCE === 'undefined')
                {
                    window.jModalClose_no_tinyMCE = typeof(jModalClose) == 'function'  ?  jModalClose  :  false;

                    jModalClose = function () {
                        if (window.jModalClose_no_tinyMCE) window.jModalClose_no_tinyMCE.apply(this, arguments);
                        tinyMCE.activeEditor.windowManager.close();
                    };
                }

                if (typeof window.SqueezeBoxClose_no_tinyMCE === 'undefined')
                {
                    if (typeof(SqueezeBox) == 'undefined')  SqueezeBox = {};
                    window.SqueezeBoxClose_no_tinyMCE = typeof(SqueezeBox.close) == 'function'  ?  SqueezeBox.close  :  false;

                    SqueezeBox.close = function () {
                        if (window.SqueezeBoxClose_no_tinyMCE)  window.SqueezeBoxClose_no_tinyMCE.apply(this, arguments);
                        tinyMCE.activeEditor.windowManager.close();
                    };
                }
            }
        };
        
                var jbase_url_fc = "http:\/\/localhost\/yumsing\/";
                var jroot_url_fc = "http:\/\/localhost\/yumsing\/";
                var jclient_path_fc = "\/yumsing";
            
    </script>
    <!--[if IE 8]>
                <link href="/yumsing/components/com_flexicontent/assets/css/ie8.css?e4a3bd95f7afd63dc06ee1eb98a91637" rel="stylesheet" />
                <![endif]-->

    <link rel="stylesheet" href="/yumsing/templates/niumai/css/bootstrap.min.css">
    <link rel="stylesheet" href="/yumsing/templates/niumai/css/custom.css" type="text/css" />
    <link href="/templates/iitianme/images/favicon.png" rel="shortcut icon" type="image/png">
    
</head>
Last edit: 3 years 4 months ago by nikitagupta2106.

Please Log in or Create an account to join the conversation.

More
3 years 4 months ago #80583 by nikitagupta2106
I also see Mootools getting loaded in your demo: flexidemo.com3elles.com/realestate/

So there's defenitely Mootools being called by flexicontent.

Please Log in or Create an account to join the conversation.

Moderators: vistamediajoomlacornerggppdk
Time to create page: 0.345 seconds
Save
Cookies user preferences
We use cookies to ensure you to get the best experience on our website. If you decline the use of cookies, this website may not function as expected.
Accept all
Decline all
Essential
These cookies are needed to make the website work correctly. You can not disable them.
Display
Accept
Analytics
Tools used to analyze the data to measure the effectiveness of a website and to understand how it works.
Google Analytics
Accept
Decline