Main menu

Forum


× Help Forum English

Can I switch Mootools off

  • Rianne
  • Topic Author
  • New Member
  • New Member
More
9 years 3 months ago - 9 years 3 months ago #8421 by Rianne
Can I switch Mootools off was created by Rianne
Hi,

I am using the iCagenda component and module on several pages of my website. It looks great, but...every page that contains either the iCagenda module or component loads Mootools. Is there any way to turn Mootools off? Thanks for your help...

These are the scripts that are loaded on a page without the iCagenda component or module:
<script src="/media/system/js/caption.js" type="text/javascript"></script>
  <script src="/templates/smartjoomlatemplate/js/jquery-2.1.1.min.js" type="text/javascript"></script>
  <script src="/templates/smartjoomlatemplate/js/jquery-noconflict.js" type="text/javascript"></script>
  <script src="/templates/smartjoomlatemplate/js/holder.js" type="text/javascript"></script>
  <script src="/templates/smartjoomlatemplate/js/bootstrap.min.js" type="text/javascript"></script>
  <script type="text/javascript">

These are the scripts that are loaded on a page with only the iCagenda Calendar module:
<script src="/media/system/js/caption.js" type="text/javascript"></script>
  <script src="/templates/smartjoomlatemplate/js/jquery-2.1.1.min.js" type="text/javascript"></script>
  <script src="/templates/smartjoomlatemplate/js/jquery-noconflict.js" type="text/javascript"></script>
  <script src="/templates/smartjoomlatemplate/js/holder.js" type="text/javascript"></script>
  <script src="/templates/smartjoomlatemplate/js/bootstrap.min.js" type="text/javascript"></script>
  <script src="/media/system/js/mootools-core.js" type="text/javascript"></script>
  <script src="/media/system/js/core.js" type="text/javascript"></script>
  <script src="/media/system/js/punycode.js" type="text/javascript"></script>
  <script src="/media/system/js/validate.js" type="text/javascript"></script>
  <script src="/modules/mod_iccalendar/js/jQuery.highlightToday.min.js" type="text/javascript"></script>
  <script type="text/javascript">
jQuery(window).on('load',  function() {
				new JCaption('img.caption');
			});
jQuery(document).ready(function(){
	jQuery('.hasTooltip').tooltip({"html": true,"container": "body"});
});
  </script>
  <script type="text/javascript">
    (function() {
      var strings = {"JLIB_FORM_FIELD_INVALID":"Invalid field:&#160"};
      if (typeof Joomla == 'undefined') {
        Joomla = {};
        Joomla.JText = strings;
      }
      else {
        Joomla.JText.load(strings);
      }
    })();
  </script>

And these are the scripts that are loaded on pages with the iCagenda component and Calendar module:
  <script src="/media/system/js/mootools-core.js" type="text/javascript"></script>
  <script src="/media/system/js/core.js" type="text/javascript"></script>
  <script src="/media/system/js/mootools-more.js" type="text/javascript"></script>
  <script src="/media/system/js/punycode.js" type="text/javascript"></script>
  <script src="/media/system/js/validate.js" type="text/javascript"></script>
  <script src="https://ajax.googleapis.com/ajax/libs/jqueryui/1.9.2/jquery-ui.min.js" type="text/javascript"></script>
  <script src="/media/com_icagenda/js/jquery.tipTip.js" type="text/javascript"></script>
  <script src="/templates/smartjoomlatemplate/js/jquery-2.1.1.min.js" type="text/javascript"></script>
  <script src="/templates/smartjoomlatemplate/js/jquery-noconflict.js" type="text/javascript"></script>
  <script src="/templates/smartjoomlatemplate/js/holder.js" type="text/javascript"></script>
  <script src="/templates/smartjoomlatemplate/js/bootstrap.min.js" type="text/javascript"></script>
  <script src="/modules/mod_iccalendar/js/jQuery.highlightToday.min.js" type="text/javascript"></script>
  <script type="text/javascript">
window.addEvent('domready', function(){ new Fx.Accordion($$('div#icagenda.pane-sliders > .panel > h3.pane-toggler'), $$('div#icagenda.pane-sliders > .panel > div.pane-slider'), {"onActive": function(toggler, i) {toggler.addClass('pane-toggler-down');toggler.removeClass('pane-toggler');i.addClass('pane-down');i.removeClass('pane-hide');Cookie.write('jpanesliders_icagenda',$$('div#icagenda.pane-sliders > .panel > h3').indexOf(toggler));},"onBackground": function(toggler, i) {toggler.addClass('pane-toggler');toggler.removeClass('pane-toggler-down');i.addClass('pane-hide');i.removeClass('pane-down');if($$('div#icagenda.pane-sliders > .panel > h3').length==$$('div#icagenda.pane-sliders > .panel > h3.pane-toggler').length) Cookie.write('jpanesliders_icagenda',-1);},"duration": 300,"display": -1,"opacity": "false","alwaysHide": "true"}); });
	jQuery(document).ready(function(){
		jQuery(".icTip").tipTip({maxWidth: "200", defaultPosition: "top", edgeOffset: 1});
	});
jQuery(document).ready(function(){
	jQuery('.hasTooltip').tooltip({"html": true,"container": "body"});
});
  </script>
  <script type="text/javascript">
    (function() {
      var strings = {"JLIB_FORM_FIELD_INVALID":"Invalid field:&#160"};
      if (typeof Joomla == 'undefined') {
        Joomla = {};
        Joomla.JText = strings;
      }
      else {
        Joomla.JText.load(strings);
      }
    })();
  </script>
Last edit: 9 years 3 months ago by Rianne. Reason: wrong formatting

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

 

  • Lyr!C
  • Lyr!C's Avatar
  • Administrator
  • Administrator
  • Lead Developer
More
9 years 3 months ago #8456 by Lyr!C
Replied by Lyr!C on topic Can I switch Mootools off
Hello,

iCagenda is using Joomla core function, working with mootools (but a part of those functions are migrated little by little to use jQuery, in Joomla3, but not all work done).

Are you running Joomla 2.5 or Joomla 3 ?

Best Regards,
Cyril

Latest version : iCagenda 3.9.2
We recommend every user to keep iCagenda updated.
Don't forget to have your Joomla!™ up-to-date!

Do you like iCagenda?
I would appreciate if you could take 5 minutes to post a review on JED (Joomla Extensions Directory) .

File Attachment:

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

  • Rianne
  • Topic Author
  • New Member
  • New Member
More
9 years 3 months ago #8545 by Rianne
Replied by Rianne on topic Can I switch Mootools off
Hi, I am using Joomla 3. Mootools is conflicting with some other extensions I use. Is there a way to turn it off?

Thanks!

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

  • Lyr!C
  • Lyr!C's Avatar
  • Administrator
  • Administrator
  • Lead Developer
More
9 years 3 months ago - 9 years 3 months ago #8587 by Lyr!C
Replied by Lyr!C on topic Can I switch Mootools off
You can install Jquery Easy Plugin, and use the options to remove mootools. (or another plugin available on the JED)

But, if you success, i would be happy to know if no issue with iCagenda, and forms, as i have not tested today if each joomla core functions used by iCagenda are all migrated to jQuery, or still need the mootools.

Note that i've planned to work on this checking in January, about Joomla 3 ;-)

Happy Holidays!
Cyril

Latest version : iCagenda 3.9.2
We recommend every user to keep iCagenda updated.
Don't forget to have your Joomla!™ up-to-date!

Do you like iCagenda?
I would appreciate if you could take 5 minutes to post a review on JED (Joomla Extensions Directory) .

File Attachment:

Last edit: 9 years 3 months ago by Lyr!C.

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

Moderators: Lyr!C
Time to create page: 0.058 seconds

 

Follow Us

acymailing logo new

Create your Joomla templates with Template Creator CK