Skip to content
Reads an ICS Calendar File and shows Events in a monthly Calendar Widget
Branch: master
Clone or download
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
assets check for existing monthpics May 9, 2019
shortcodes initial commit May 8, 2019
templates/partials check for existing monthpics May 9, 2019
CHANGELOG.md initial commit May 8, 2019
LICENSE Initial commit May 7, 2019
README.md initial commit May 8, 2019
blueprints.yaml initial commit May 8, 2019
fullcalendar.php initial commit May 8, 2019
fullcalendar.yaml initial commit May 8, 2019

README.md

Fullcalendar Plugin

The Fullcalendar Plugin is for Grav CMS. It reads an ICS Calendar File and shows Events in a monthly Calendar Widget on your Page(s)

Installation

Installing the Fullcalendar plugin can be done in one of two ways. The GPM (Grav Package Manager) installation method enables you to quickly and easily install the plugin with a simple terminal command, while the manual method enables you to do so via a zip file.

GPM Installation (Preferred)

The simplest way to install this plugin is via the Grav Package Manager (GPM) through your system's terminal (also called the command line). From the root of your Grav install type:

bin/gpm install fullcalendar

This will install the Fullcalendar plugin into your /user/plugins directory within Grav. Its files can be found under /your/site/grav/user/plugins/fullcalendar.

Manual Installation

To install this plugin, just download the zip version of this repository and unzip it under /your/site/grav/user/plugins. Then, rename the folder to fullcalendar. You can find these files on GitHub or via GetGrav.org.

You should now have all the plugin files under

/your/site/grav/user/plugins/fullcalendar

NOTE: This plugin is a modular component for Grav which requires Grav and the Error and Problems to operate.

Admin Plugin

If you use the admin plugin, you can install directly through the admin plugin by browsing the Plugins tab and clicking on the Add button.

Configuration

Before configuring this plugin, you should copy the user/plugins/fullcalendar/fullcalendar.yaml to user/config/plugins/fullcalendar.yaml and only edit that copy.

Here is the default configuration and an explanation of available options:

enabled: true

Note that if you use the admin plugin, a file with your configuration, and named fullcalendar.yaml will be saved in the user/config/plugins/ folder once the configuration is saved in the admin.

Usage

Once installed and enabled, you can use this Plugin to parse an ICS Calendar File (must be found in user/data/calendars and set as parameter in Plugin shortcut, without Path !) and display Events from that Calendar anywhere on your Site using this shortcut

[fullcalendar icsfile=example.ics][/fullcalendar]

in the appropriate page. As an addition, you can show a Picture for the current month above the calendar widget. Just put 12 Image Files named 'January.jpg', 'February.jpg', ... , 'December.jpg' in the Folder for your Page where the Calendar will be placed.

Credits

This Plugin is built on fullcalendar.io

To Do

  • process multiple Calendar (ICS) Files
  • change Month Pic when user selects pev/next month :)
You can’t perform that action at this time.