moe / full-calendar
A lightweight calendar module for Silverstripe. Implements the popular javascript http://fullcalendar.io/ library.
Installs: 1 461
Dependents: 0
Suggesters: 0
Security: 0
Stars: 12
Watchers: 2
Forks: 4
Type:silverstripe-module
Requires
- jsvrcek/ics: ^0.4.0
- moe/color-swab: @stable
- silverstripe/lumberjack: @stable
- silverstripe/mimevalidator: ^1.0
README
A lightweight calendar module for Silverstripe. Implements the popular javascript http://fullcalendar.io/ library.
Features
- Lightbox event details
- Stylish colour inheritance based on user selection
- Hide past events automatically
- Easily change the style/theme to match your brand
- Change between month and agenda views
- Page type for a list of upcoming events
- Download single events as .ics files
- Download entire calendar as .ics file
Installation
Composer
Ideally composer will be used to install this module.
composer require "moe/full-calendar:@stable"
From source
- Download the latest [release] (https://github.com/peavers/silverstripe-full-calendar/releases)
- Extract the files
- Make sure the folder after being extracted is named 'full-calendar'
- Upload to your site root
Basic modification
Javascript
Common settings can be changed from the CMS, but to add additional options just add them to the calendarSettings.
function calendarSettings(json) { $('#calendar').fullCalendar({ //custom settings here }) }
For more setting options see http://fullcalendar.io/docs/
CMS Setup/Usage
Page types
- Full Calendar - This is the holder for all events, also contains the main calendar. Create this first.
- Full Calendar Event - A unique event, needs to be created as a child to Full Calendar
Screen shots
Calendar View
Event view
Calendar settings
Event settings
Libraries used
- Fullcalendar
- Moment.js
- Fancybox v2
- Font Awesome