Home › Forums › Calendar Products › Community Events › Datepicker not working
- This topic has 3 replies, 2 voices, and was last updated 10 years, 2 months ago by Casey.
-
AuthorPosts
-
January 31, 2014 at 1:26 am #99105OliverParticipant
Hi Casey,
the Datepicker on our website http://www.treffpunkt-jazz.de/events/community/add/ is not working.As I found out the problem is related to the Theme (“The Style” from Elegant Thems) used. When I switch to Twenty Eleven, etc. it’s working fine.
As I read here it’s related to jquery, which is loaded twice:
https://theeventscalendar.com/support/forums/topic/datepicker-not-working/Can you give me a hint how I can avoid to load the jquery twice? (there are a lot of jquery entries in the script, which one is the one causes the problem?)
Best regards,
OliverJanuary 31, 2014 at 11:05 am #99299CaseyParticipantOliver,
Thanks for getting in touch, and sorry to hear that you’re having this issue. I believe you are correct that this issue is happening because you’re loading jQuery-UI twice in your site. As I’m noticing on line 901 when I view the source of your Event Submission form, I’m seeing the following code:
<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jqueryui/1.7.1/jquery-ui.min.js"></script>
I would look in your theme’s functions.php file or footer.php to see if that is being included somewhere. If you can find it, try removing that reference to see if it fixes the issue, otherwise I would reach out to your theme developer to see if they can help you remove it.
I hope that helps! Thanks! 🙂
-Casey-
January 31, 2014 at 11:50 am #99321OliverParticipantHi Casey!
thanks for the ultra-fast answer! 🙂
You have been right. The jquery-ui.min.js was the problem!
I found the code in the script.php of the theme, deleted it and it worked immediately!Thanks a lot!!!
Best regards,
OliverJanuary 31, 2014 at 11:53 am #99327CaseyParticipantThanks for confirming that this got you sorted. Since it looks like you’re all set here, I’m going to mark this thread “Answered” and close it out.
By the way, if you have a minute or two, we would love it if you’d write a few words for us here: http://wordpress.org/support/view/plugin-reviews/the-events-calendar?filter=5
Thanks in advance. 🙂
Cheers,
Casey -
AuthorPosts
- The topic ‘Datepicker not working’ is closed to new replies.