A component for viewing a GridField's data as a calendar


Repository: https://github.com/webbuilders-group/silverstripe-gridfield-calendar-view

Packagist: http://packagist.org/packages/webbuilders-group/silverstripe-gridfield-calendar-view

Issues: https://github.com/webbuilders-group/silverstripe-gridfield-calendar-view/issues

Authors: Ed Chipman

1 2 2.4K


Readme

SilverStripe GridField Calendar View

A component for viewing a GridField's data as a calendar, useful for things like event calendars. It also provides a toggle button that let's you switch between the default list view for a GridField and the Calendar view.

Maintainer Contact

Requirements

  • SilverStripe Framework 4.2+

Installation

Composer (recommended):

composer require webbuilders-group/silverstripe-gridfield-calendar-view

If you prefer you may also install manually:

Quick Start

To get started you need to have an object that can be rendered as a item on a calendar. Then you need to add the GridFieldCalendarView component to your GridField's config. For example:

$myGridField=new GridField('Events', 'Events', $this->Events(), GridFieldConfig_RecordEditor::create(10));
$myGridField->getConfig()->addComponent(new GridFieldCalendarView(
        'StartDateTimeField', //This must be the name of the field in the model not a getter method
        'EndDateTimeField'
    ));

There are more options available, when adding the component for information on these see the documentation for more information.


Versions

dev-master
2018-09-26 12:18pm UTC
BSD-3-Clause

Install composer require webbuilders-group/silverstripe-gridfield-calendar-view dev-master

Manual Install: Download

Requires
  • silverstripe/framework: ~4.2
1.0.x-dev
2018-09-20 7:55pm UTC
BSD-3-Clause

Install composer require webbuilders-group/silverstripe-gridfield-calendar-view 1.0.x-dev

Manual Install: Download

Requires
  • silverstripe/framework: ~3.3
  • composer/installers: *
1.0.0
2018-03-26 1:30pm UTC
BSD-3-Clause

Install composer require webbuilders-group/silverstripe-gridfield-calendar-view 1.0.0

Manual Install: Download

Requires
  • silverstripe/framework: ~3.3
  • composer/installers: *
0.1.3
2018-01-09 8:32pm UTC
BSD-3-Clause

Install composer require webbuilders-group/silverstripe-gridfield-calendar-view 0.1.3

Manual Install: Download

Requires
  • silverstripe/framework: ~3.3
  • composer/installers: *
0.1.2
2017-02-16 7:14pm UTC
BSD-3-Clause

Install composer require webbuilders-group/silverstripe-gridfield-calendar-view 0.1.2

Manual Install: Download

Requires
  • silverstripe/framework: ~3.3
  • composer/installers: *
0.1.1
2016-12-19 1:55pm UTC
BSD-3-Clause

Install composer require webbuilders-group/silverstripe-gridfield-calendar-view 0.1.1

Manual Install: Download

Requires
  • silverstripe/framework: ~3.3
  • composer/installers: *
0.1.0
2016-10-06 2:57pm UTC
BSD-3-Clause

Install composer require webbuilders-group/silverstripe-gridfield-calendar-view 0.1.0

Manual Install: Download

Requires
  • silverstripe/framework: ~3.3
  • composer/installers: *