Forums

Date picker not showing on IE

rtenny 04 Mar, 2012
I have bought numerous licenses for ChronoForm and never had any real problems with it. I had it working on a site in all browsers. Then I changed the template and now it does not work on IE. When I look in the code none of the js and css for the calendar get loaded even thou the module in on the page. Reverting back to the old template and it works again.

It works in all the other browsers perfectly just IE has the problem.

Here the link to the site
http://www.disneyparisdirect.co.uk/

Thanks for your help.
GreyHead 05 Mar, 2012
Hi rtenny,

Your template (or some other component) is loading 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 - which may or may not work - 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 plugin named JB Library from Joomla! Bamboo that allows you to control on which pages jQuery is loaded, and will always load it in no-conflict mode. However this requires that JQuery is loaded using the Joomla Document object methods.

I have a tutorial on Resolving jQuery problems that explores some of the issues an diagnostics and shows how to modify one template example to use the Joomla! Document methods to load JQuery in noConflict mode.

Bob
rtenny 05 Mar, 2012
The jQuery.noConflict() is already in the template file. It works in other browsers just IE has the problem.

Any ideas?
GreyHead 05 Mar, 2012
Hi rtenny ,

Yes, unfortunately having it there isn't always enough; it has to run in exactly the right point in the page load. The only suggestions that I have are either to ask your clients very nicely not to use IE or to debug the template.

Bob
rtenny 05 Mar, 2012
I downloaded the PDF about fixing JQuery issues and I understand that the noconflict might not be enough.

I reverted back to a previous template and managed to do get the look my client wanted. So all is good now. Thanks for the help.
This topic is locked and no more replies can be posted.