Main menu

Forum


× Help Forum English

Can I switch Mootools off

  • Rianne
  • Auteur du sujet
  • Nouveau membre
  • Nouveau membre
Plus d'informations
il y a 9 ans 4 mois - il y a 9 ans 4 mois #8421 par Rianne
Can I switch Mootools off a été créé par 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>
Dernière édition: il y a 9 ans 4 mois par Rianne. Raison: wrong formatting

Connexion ou Créer un compte pour participer à la conversation.

  • Lyr!C
  • Portrait de Lyr!C
  • Administrateur
  • Administrateur
  • Lead Developer
Plus d'informations
il y a 9 ans 4 mois #8456 par Lyr!C
Réponse de Lyr!C sur le sujet 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) .

Fichier attaché :

Connexion ou Créer un compte pour participer à la conversation.

  • Rianne
  • Auteur du sujet
  • Nouveau membre
  • Nouveau membre
Plus d'informations
il y a 9 ans 4 mois #8545 par Rianne
Réponse de Rianne sur le sujet 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!

Connexion ou Créer un compte pour participer à la conversation.

  • Lyr!C
  • Portrait de Lyr!C
  • Administrateur
  • Administrateur
  • Lead Developer
Plus d'informations
il y a 9 ans 4 mois - il y a 9 ans 4 mois #8587 par Lyr!C
Réponse de Lyr!C sur le sujet 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) .

Fichier attaché :

Dernière édition: il y a 9 ans 4 mois par Lyr!C.

Connexion ou Créer un compte pour participer à la conversation.

Modérateurs: Lyr!C
Temps de génération de la page : 0.216 secondes

Follow Us

Créez vos templates Joomla avec Template Creator CK

acymailing logo new