Forums

Date picker not shown in module.

vismay 01 May, 2011
Hello,

I've an availability request form done with chronoform 3.2 and I use the module to show it, but the datepicker ( checkin & checkout) doesn't come up.... any idea?

here: http://www.villagabriella.net/index.php

Thanks for any suggestion.
Matteo
GreyHead 01 May, 2011
Hi vismay,

Your template (or some other components) are loading two different versions of the jQuery JavaScript library. Out of the box jQuery isn't compatible with the MooTools library used by Joomla! and ChronoForms. You can use jQuery with MooTools in no-conflict mode. There are various ways of doing this. The simplest is to add a line of script in the ChronoForms Form JavaScript box:
jQuery.noConflict();
This will free the $ operator which is used by MooTools, so you may need to update your own javascripts to use the longer jQuery operator.

There is also a neat Joomla! system plugin named SC jQuery that allows you to control on which pages jQuery is loaded, and will always load it in no-conflict mode.

Bob
vismay 01 May, 2011
...I was trying both solutions, with no success...also disabling the module that was calling the jquery....

sorry, not working.
GreyHead 01 May, 2011
Hi vismay,

Have you removed the second version of JQuery?

Sorry you haven't found the right fix yet. Maybe contact the template author?

Bob
vismay 01 May, 2011
What do you mean with the second version of the jquery?

ehm...I'm the author of the template, is a simple one without any script.
GreyHead 01 May, 2011
Hi vismay,

Your template (or some other components) are loading two different versions of the jQuery JavaScript library.


Bob
This topic is locked and no more replies can be posted.