A better handling of events in the calendar
Posted by Bernard on Mar. 6, (popular)
The addition of a calendar to a yacs server is quite easy. Create a section, change the overlay for content to
day, and every page created there will become an event in a calendar.This version is bringing new features to this. First, the overlay now displays monthly calendars instead of a list of next items. Type
day layout_as_list in the overlay field if you prefer the list layout.Second, the overlay automatically masks past dates, except if you add the parameter
with_past_dates to the overlay. This means that, by default, the calendar will only lists upcoming events. Use the parameter with_past_dates if past events have to stay accessible.Third, a bug related to event duplication has been solved. Previously, the duplication would corrupt one table in the database, inducing a mess in calendars. This has been fixed in the new version.