Contact Contact Show All Awards & Recognition
Contact
Show All Awards & Recognition

javra/calendar-bundle

not-reviewed

No Category

No author set

Version

v1.0

Last updated

Compatible Pimcore Version

-

Contact

-

No  Reviewer

javra/calendar-bundle

No Category

Project Summary

A bundle to integrate a calendar of Microsoft Outlook and Google in Pimcore.


Readme

Installation

Bundle Installation

For Pimcore >= 11

To install Javra Calendar Bundle for Pimcore 11 or higher, follow the three steps below:

  1. Install the required dependencies:

    # Install via composer
    composer require javra/calendar-bundle
  2. Make sure the bundle is enabled in the config/bundles.php file. The following lines should be added:

    // Add to config/bundles.php
    return [
    // ...
    Javra\CalendarBundle\JavraCalendarBundle::class => ['all' => true],
    ];
  3. Install the bundle:

    # Install the bundle via command-line
    bin/console pimcore:bundle:install JavraCalendarBundle
  4. Add secret keys and credentials in .env file

    MS_TENENT_ID=
    MS_CLIENT_ID=
    MS_CLIENT_SECRET=
    CAPTCHA_SITE_KEY=
    CAPTCHA_SECRET=
  5. Include the javra clendar areabrick in pimcore areablock allowed array list.

    
    pimcore_areablock('areablock', {
        "allowed": [
            "javracalendar"
        ]
    }
6. Add a email template named 'demo-schedule' and 'demo-response' for calendar schedule.
```php
    public function calendarScheduleAction(Request $request): Response
    {
        return $this->render('@JavraCalendar/email/demo-schedule.html.twig');
    }
    public function calendarResponseAction(Request $request): Response
    {
        return $this->render('@JavraCalendar/email/demo-response.html.twig');
    }

Variables available in the twig are listed below:

{{applicant_name}}
{{email}}
{{dateTime}}

Documentation

Review status

not-reviewed

?>

No author set

Version

v1.0

Last updated

Compatible Pimcore Version

-

Contact

-

No  Reviewer