Main menu

Forum


× Help Forum English

Can I switch Mootools off

  • Rianne
  • Autore della discussione
  • New Member
  • New Member
Di più
9 Anni 4 Mesi fa - 9 Anni 4 Mesi fa #8421 da Rianne
Can I switch Mootools off è stato creato da 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>
Ultima Modifica 9 Anni 4 Mesi fa da Rianne. Motivo: wrong formatting

Si prega Accedi o Crea un account a partecipare alla conversazione.

  • Lyr!C
  • Avatar di Lyr!C
  • Administrator
  • Administrator
  • Lead Developer
Di più
9 Anni 4 Mesi fa #8456 da Lyr!C
Risposta da Lyr!C al 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.3
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 allegato:

Si prega Accedi o Crea un account a partecipare alla conversazione.

  • Rianne
  • Autore della discussione
  • New Member
  • New Member
Di più
9 Anni 4 Mesi fa #8545 da Rianne
Risposta da Rianne al 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!

Si prega Accedi o Crea un account a partecipare alla conversazione.

  • Lyr!C
  • Avatar di Lyr!C
  • Administrator
  • Administrator
  • Lead Developer
Di più
9 Anni 4 Mesi fa - 9 Anni 4 Mesi fa #8587 da Lyr!C
Risposta da Lyr!C al 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.3
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 allegato:

Ultima Modifica 9 Anni 4 Mesi fa da Lyr!C.

Si prega Accedi o Crea un account a partecipare alla conversazione.

Moderatori: Lyr!C
Tempo creazione pagina: 0.101 secondi

Follow Us

Create your Joomla templates with Template Creator CK

acymailing logo new