Uvic events calendar, associating event to dept
Posted by sarneil on 15 Sep 2010 in Activity log
In response to question from BT of dean's office, who's discovered that some events posted by departments are not appearing in the aggregate list on the Humanities site. I did some testing with the following results:
When you create an event on the Uvic Events Calendar authoring page, you can associate that event with either your department (e.g. CAPI) or with the aggregate Uvic Events Calendar (the default). The default behaviour of the display is to aggregate all events from all calendars, so no matter what calendar you associate your event with, the event will show up in the default display within the UVic Events calendar website.
We have written code that allows a web page to search the uvic events database for the events associated with a given calendar and display them on the page (for example, see the events list on the right-hand side of http://web.uvic.ca/grs/web_pages/index.php) The dean's office uses similar code to aggregate events associated with many departments in the humanities (see the main content area and the right margin at http://web.uvic.ca/humanities/aboutus/events.php)
If your event is associated with the Uvic Events Calendar, then the department-specific and faculty-specific code doesn't find it and any pages using that code miss your event. If your event is associated with the CAPI calendar, then the department-specific (or aggregate of department specifics used by the dean) code will find it.