Skip to content
Edoardo Cavazza edited this page Jun 29, 2022 · 2 revisions

Calendar is a BEdita 4 plugin designed render and filter calendar views.

Usage

You can install the plugin using Composer.

The recommended way to install Composer packages is:

$ composer require chialab/calendar

Then, you have to load it as plugin in your Cake application:

src/Application.php

$this->addPlugin('Chialab/Calendar');

This plugin is also a JavaScript module that can be used for filtering forms. Add it to the workspaces list in the root package.json:

{
  "name": "my-app",
  "workspaces": [
    "plugins/*",
    "vendor/chialab/calendar"
  ]
}

Then, run npm install or yarn install to install its dependencies.

Now, the module is linked in the node_modules folder and can be imported in your JavaScript application:

app.js

import '@chialab/calendar';

Please read the Wiki to correctly setup the application.

Clone this wiki locally