2017 © Pedro Peláez
 

silverstripe-module silverstripe-gridfield-calendar-view

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

image

webbuilders-group/silverstripe-gridfield-calendar-view

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

  • Monday, March 26, 2018
  • by WebbuildersGroup
  • Repository
  • 3 Watchers
  • 1 Stars
  • 1,897 Installations
  • JavaScript
  • 0 Dependents
  • 0 Suggesters
  • 2 Forks
  • 2 Open issues
  • 5 Versions
  • 19 % Grown

The README.md

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., (*1)

Maintainer Contact

Requirements

  • SilverStripe Framework 4.2+ | 5.0+

Installation

Composer (recommended):, (*2)

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

If you prefer you may also install manually: * Download the module from here https://github.com/webbuilders-group/silverstripe-gridfield-calendar-view/releases * Extract the downloaded archive into your site root so that the destination folder is called gridfield-calendar-view, opening the extracted folder should contain _config.php in the root along with other files/folders * Run dev/build?flush=all to regenerate the manifest, (*3)

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:, (*4)

$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., (*5)

The Versions

26/03 2018

dev-master

9999999-dev

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

  Sources   Download

BSD-3-Clause

The Requires

 

calendar silverstripe gridfield

09/01 2018

0.1.3

0.1.3.0

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

  Sources   Download

BSD-3-Clause

The Requires

 

calendar silverstripe gridfield

16/02 2017

0.1.2

0.1.2.0

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

  Sources   Download

BSD-3-Clause

The Requires

 

calendar silverstripe gridfield

19/12 2016

0.1.1

0.1.1.0

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

  Sources   Download

BSD-3-Clause

The Requires

 

calendar silverstripe gridfield

06/10 2016

0.1.0

0.1.0.0

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

  Sources   Download

BSD-3-Clause

The Requires

 

calendar silverstripe gridfield