FixesThe Events Calendar Event Options jQuery Fix

A lot of you may have noticed that The Events Calendar started acting funny when attempting to create an event post after updating your WordPress install to 3.1 (and newer). The big issues: the event details form always appeared even when it shouldn’t be and the “All day event?” checkbox worked in reverse.

This turned out to be a rather easy fix. There’s a file named “events-meta-box.php” in your “Views” folder inside of The Events Calendar folder. This file is what drives what you see when you’re creating an event post. The problem is due to jQuery no longer using attr('checked'). It has been replaced with is(':checked'). I went ahead and replaced the relevant code.

You can view and download the code here: http://snap.rvo.me/8zzT

Just replace all of your events-meta-box.php file with this one for a simple fix.

Note: I’m calling the latest version of jQuery (1.6.2) hosted at Google. It’s required for my installs. It may be required for yours. Please let me know.

Update: I should have 100% fixed the “All day event?” checkbox issue with this update. Also it looks like jQuery 1.6.2 is necessary for this to work so be sure to either keep the link to jQuery or include your locally hosted file.

19 Responses to “The Events Calendar Event Options jQuery Fix”

    • Doug C. Hardester

      I’m at work now but will be able to check things out tonight.

      What plugins do you have activated? Did you remove the call to jQuery hosted at Google I had in the file?

      There actually still is some pretty old jQuery code I could clean up that may be causing it. I was planning on doing that tomorrow evening or Wednesday.

      Reply
    • Doug C. Hardester

      Hey Sean, thanks for the comment.

      I believe I have fixed the issue for good this time around. Can you download my event-meta-options.php file and check for me?

      Reply
  1. Tony

    Hey thanks! This worked out great. But I’m running into another problem where it’s showing…

    “Thank you for creating with WordPress. • Documentation • Freedoms • Feedback • Credits”

    … on top of the events menu. So I’m unable to select hardly anything about the event as it’s in my way. Is there a way I can fix this?

    Reply
    • Doug C. Hardester

      You’re welcome!

      What browser are you using? I can’t duplicate that problem any where so it’s hard for me to figure out how to fix it.

      The WordPress footer is absolute positioned so that could be causing an odd issue I guess. Let me know your browser though and hopefully I can duplicate the problem and figure out a solution.

      Reply
  2. Jason

    I am trying to integrate the eventbrite calendar with this plugin into my site, but it doesn’t seem to be working. Would someone be willing to get this up and running for a small fee?

    Reply
    • Doug C. Hardester

      Unfortunately I’ve never actually went as far as integrating Eventbrite personally so I don’t know how much help I would be honestly.

      I am currently working on a project for a client but may be able to look more into it by early next week if not this weekend.

      Reply
    • Doug C. Hardester

      Great, glad it helped!

      Check back. I’m currently working on upgrading this plugin to take advantage of new WordPress capabilities.

      Reply
  3. Kristal Winders

    Okay, I am in need of some help. I am currently in the process of finishing up a donated site for a local non profit and am having some problems. The calender was working great and I loved the application until I added the wp e-commerce store. now the calender is not allowing me to see anything in list view. It keeps kicking me to calender view even though I have the default for setting for list view. When I deactivate the store it works fine so there must be something conflicting with the way the store hides it post or something. I dunno. I am no expert on this and would definitely appreciate any help given. I love this plugin but really don’t want to try and rebuild a new store so hopefully there is a quick fix for this. Thanks for any help.

    Reply
    • Doug C. Hardester

      As soon as I get some free time I will try installing WP e-commerce and see if I can duplicate the problem.

      I’m guessing there may be some kind of javascript issue most likely.

      Reply
  4. Jake

    Me again. I’m really confused… nothing seems to be fixing the multiple date plugin. I included the call to jquery on google, and no other plugins are activated that would conflict…

    Reply

Leave a Reply