[EventCalendar] Repeating events in EventCalendar

David Moody moody.d at hotmail.com
Tue May 5 14:22:16 UTC 2009


Looks like there's a fair bit of interest in the Repeating Events feature, so I'll post the link here.

You can download the mods from:
http://www.chippawapc.ca/wordpress/eventcalender_repeatingevents.zip

Changes are to functions event_editor_box() (in admin.php) and Ec3EditForm.add_row (in edit.form.js).  My suggestion is to rename the old files and drop the two new files in their place (in wp-content\plugins\event-calendar\).  Let me know if you have any questions/issues/suggestions!

I hate to implement outside the main development stream, so if one of the "real" developers has a suggestion on how to include this feature in the next build, or a better way to implement it as an add-in feature to event calendar, I'm all ears!  We just really needed repeating events for our website, and this seemed like the simplest (and least messy) way of doing it.

David





From: David Moody 
Sent: Monday, May 04, 2009 3:27 PM
To: eventcalendar at firetree.net 
Subject: [EventCalendar] Repeating events in EventCalendar


If anyone is interested, I have made a simple implementation of repeating events in EventCalendar v3.2.beta2.

My solution was to add a drop-down list next to the [+] (add event) button which gives you a choice of repeating the previous entry by week, month date (e.g. the 15th of every month), or by month week/day (e.g. the 2nd Monday of every month), and a text field to indicate how many times to repeat.  This involved making changes to admin.php and editform.js.

With this mod, you can repeat an event forward for as many weeks or months as you would like.

You can see a screenshot of how it looks at http://www.chippawapc.ca/wordpress/EventCalendarRepeater.jpg

If anyone is interested in the code, email me at moody.d at hotmail.com

Thanks for a great plug-in!

David



--------------------------------------------------------------------------------


_______________________________________________
Blog: http://wpcal.firetree.net/
EventCalendar at firetree.net mailing list
Unsubscribe: http://penguin.firetree.net/eventcalendar
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://penguin.firetree.net/pipermail/eventcalendar/attachments/20090505/266ff58d/attachment.htm


More information about the EventCalendar mailing list