Package: kotti_calendar
This is an extension to the Kotti CMS that allows you to add calendars
with events to your Kotti site.It uses theFullCalendar jQuery pluginto display calendars.Events can be either pulled from Google calendar XML feeds or added in
Kotti itself.Find out more about KottiSetupTo activate the kotti_calendar add-on in your Kotti site, you need to
add an entry to thekotti.configuratorssetting in your Paste
Deploy config.  If you don’t have akotti.configuratorsoption,
add one.  The line in your[app:main]section could then look
like this:kotti.configurators = kotti_calendar.kotti_configureWith this, you’ll be able to add calendar and event items in your site.Upcoming events widgetkotti_calendar provides a upcoming events widget, which is disabled by default.
To enable the widget add the following to thepyramid.includessetting:pyramid.includes = kotti_calendar.widgets.includeme_upcoming_eventsWith this, the upcoming events will be shown in the right column of the site.You can adjust how many events will be shown in the widget with setkotti_calendar.upcoming_events_widget.events_countto a different
value. It defaults to5:kotti_calendar.upcoming_events_widget.events_count = 10Upgradingkotti_calendarin an existing projectIf you want to upgradekotti_calendarin a project where it is already
installed (and calendars exist in that site), you might need to run a database
migration:kotti-migrate <your ini file> upgrade --scripts=kotti_calendar:alembicE.g.:kotti-migrate development.ini upgrade –scripts=kotti_calendar:alembicHistory0.8.2 - 2015-01-07Requirejs.fullcalendar>=2.2.5.Use thelang_all_jsresource.0.8.1 - 2014-11-12Fix a bug in event view template markup.0.8 - 2014-11-12Migrate to Bootstrap 3.
This requiresKotti>=0.10b1and is abackward incompatible change if you have customized any template!Make files addable to Events and let the editor chose wheter to link to the first contained file of an event from the calendar view (instead of the default linking to the event node).Inherit Calendar from Document instead of Content.
This allows you to have additional formatted (but completely optional) text on your calendar instances. [disko]Make Event implement IDefaultWorkflow. [disko]Add migrations (also the one noted as missing in 0.7a1). [disko]Use decorators for view_config. [disko]Add some docstrings. [disko]0.7.1 - UnreleasedRemove fullcalendar resources and use its fanstatic packaging instead.
[disko]Reorder imports (PEP8 style). [disko]0.7 - 2012-12-10Take event end time also into account for upcoming events. [j23d]Use form classes for the form views instead of deprecated generic functions.
[j23d]Move fanstatic library to fanstatic.py to be consistent with Kotti. [j23d]0.7a3 - 2012-09-11Fix error in README. (j23d)0.7a2 - 2012-09-11Added a widget to show the upcoming events in the right
column of the site. (j23d)Update to fullcalendar 1.5.4. whats play nice with jquery >= 1.8.
see:https://github.com/arshaw/fullcalendar/pull/61(j23d)Check if the user has the permission to view the event. (j23d)Added a setting to choose how many events the widget shows. (j23d)0.7a1 - 2012-06-22Subclass Event from Document instead of Content to allow
richtext content for events. (disko)
TODO: migrationAdd Python/PageTemplate i18n with German locale. (disko)Add month/week/day switcher in calender view. (disko)0.6 - 2012-06-21Use Fanstatic (Kotti>=0.7 only) (disko)Upgrade to fullcalendar 1.5.3 (disko)Add German locale (disko)0.5 - 2012-03-15Use SQLAlchemy declarative-style.  (for Kotti 0.6.0)Content.type_info now expects a ‘title’ attribute; provide it.0.4 - 2011-12-14Update for Kotti 0.4.0.0.3 - 2011-11-13Update for Kotti 0.2.4.0.2 - 2011-09-16Update for Kotti 0.2.0.1 - 2011-04-12Initial release