Datepicker not working

Home Forums Calendar Products Community Events Datepicker not working

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #99105
    Oliver
    Participant

    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,
    Oliver

    #99299
    Casey
    Participant

    Oliver,
    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-

    #99321
    Oliver
    Participant

    Hi 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,
    Oliver

    #99327
    Casey
    Participant

    Thanks 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

Viewing 4 posts - 1 through 4 (of 4 total)
  • The topic ‘Datepicker not working’ is closed to new replies.