[EventCalendar] PATCH - Big Calendar (full page calendar display)
Matthew Middleton
mailinglists at zzxc.net
Sat Oct 13 08:14:58 UTC 2007
I have completed my implementation of a full page calendar in ec3; I have attached the patch (to svn revision 272) to this e-mail. This patch is fully functional and implements the following:
*Full page calendar support. The syntax for a big calendar (template code) is: ec3_get_calendar("IDName",1);
**The first argument to the function is the ID name to use for the calendar. Currently it is not implemented, but the parameter is there for future use.
**The second argument is "1" for full page calendar. The default is "0" for a small calendar, and more calendar types may be added in the future.
*Events are now ordered by start time, thanks to a one-line sql query fix.
*I added a public domain base64 decode function to ec3.js, to allow for html to be sent in the XML feed.
*Full page calendars display full links to the event within the calendar table. (These are automatically updated when the month is changed, just as with small calendars)
*A new XML feed for large calendars. The syntax for it is http://blog.url/?ec3_xml=2007_10_bigcalendar
*Changes to the ec3_Day class
*Changes to some internal functions
TODO:
*Make the ID function work so that multiple calendars can be on a page
*Test this in more browsers, tweak CSS, fix bugs, etc
*Change the new variable, function and class names to match the rest of the code
*Add links for creating/deleting events from the big calendar itself, visible to administrators.
Any suggestions are welcome. If people are unable to apply a svn patch, I can post a zip file somewhere so people can test this functionality. Hopefully a cleaned up version of this patch will make it into the main eventcalendar3 distribution.
-Matthew Middleton
(By the way.. thanks to Alex and everyone else who has contributed to this script)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: =?utf-8?q?big.calendar.patch?=
Type: application/octet-stream
Size: 11848 bytes
Desc: not available
Url : http://penguin.firetree.net/pipermail/eventcalendar/attachments/20071013/9336a564/utf-8qbig.calendar-0001.obj
More information about the EventCalendar
mailing list