I'm using the jQuery calendar on one of my chronoforms. Works great, but the browser reports three javascript errors which look like a mootools issue. I'm not using mootools on that form, but the includes are in the generated source.
---------
"Message: Object doesn't support this property or method"
/components/com_chronocontact/js/mooValidation.js
/media/system/js/mootools.js
/media/system/js/mootools.js
----------
Is there some way to turn off mootools for a chronoform?
Thanks in advance for any insight.
---------
"Message: Object doesn't support this property or method"
/components/com_chronocontact/js/mooValidation.js
/media/system/js/mootools.js
/media/system/js/mootools.js
----------
Is there some way to turn off mootools for a chronoform?
Thanks in advance for any insight.
Hi joomlanoob,
I think that as long as you don't turn on the ChronoForms CSS/JS, don't enable validation, don't ask ChronoForms to try to republish then probably MooTools won't load. Though MooTools is a standard part of Joomla 1.5 and some other component may load it.
Someone posted recently a method for getting the two to work together.
Bob
I think that as long as you don't turn on the ChronoForms CSS/JS, don't enable validation, don't ask ChronoForms to try to republish then probably MooTools won't load. Though MooTools is a standard part of Joomla 1.5 and some other component may load it.
Someone posted recently a method for getting the two to work together.
Bob
Thanks for the tip... looked at http://www.designvsdevelop.com/using-mootools-and-jquery-together-in-joomla/ and added the highlighted line into my existing page...
<link type="text/css" href="includes/jQuery/css/ui-lightness/jquery-ui-1.7.2.custom.css" rel="stylesheet" />
<script type="text/javascript" src="includes/jQuery/js/jquery-1.3.2.min.js"></script>
<script type="text/javascript" src="includes/jQuery/js/jquery-ui-1.7.2.custom.min.js"></script>
<script type="text/javascript">jQuery.noConflict();</script>
<script type="text/javascript" src="includes/jQuery/development-bundle/ui/ui.core.js"></script>
<script type="text/javascript" src="includes/jQuery/development-bundle/ui/ui.datepicker.js"></script>
Now works great!🙂
<link type="text/css" href="includes/jQuery/css/ui-lightness/jquery-ui-1.7.2.custom.css" rel="stylesheet" />
<script type="text/javascript" src="includes/jQuery/js/jquery-1.3.2.min.js"></script>
<script type="text/javascript" src="includes/jQuery/js/jquery-ui-1.7.2.custom.min.js"></script>
<script type="text/javascript">jQuery.noConflict();</script>
<script type="text/javascript" src="includes/jQuery/development-bundle/ui/ui.core.js"></script>
<script type="text/javascript" src="includes/jQuery/development-bundle/ui/ui.datepicker.js"></script>
Now works great!🙂
This topic is locked and no more replies can be posted.