JQuery week calendar reoccurring events

JQuery has a nice plugin called . Very simple to use and I was able to integrate it into the database to handle pulling scheduling data. However I came across one issue. Reoccurring events.

Well after scrambling the web, I came to the conclusion that it wasn’t possible in the code by default. So away into the code I went. To say the least, my solution is nowhere near perfect nor does it allow for reoccurring events yet from different weeks or months. It was decided to take another course of action rather than trying to hack reoccurring events into the code. I just wanted to post what I had so far:

In jquery.weekcalendar.js we have this code:

Now before this and the block of code before it, I added in:

This lets me do reoccurring events for the current week. I am sure it could be greatly improved and somebody may be able to make it support multiple weeks.

In case anybody else wondered, this simply just needs a json array in the data of the weekday numbers (0-6). The key is recurring.

6 comments on “JQuery week calendar reoccurring events”

    • SleePy

      Hey Tim,

      Sorry for the delay. This was merged into to main repository. So you can download the latest version off their GitHub repository to get this fix included.

    • SleePy

      This was merged into their code base, so it shouldn’t be a problem now.

      But you still need to specify that its a recurring event

  1. Darkagelink

    I have the latest version of jquery.weekcalendar.js and i can’t find anything that referent to “recurring”. Any idea?

    • Jeremy

      I know they merged the commit so it should be there. I haven’t used this in a while as I haven’t needed it for any other projects I have done.

Leave a Reply

Highslide for Wordpress Plugin