View on GitHub

nova-calendar

A powerful event calendar Tool for Laravel's Nova 4

⬅️ Back to Documentation overview


Adding more calendar views

Starting with version 2.0, the amount of different calendar views you can add to your application is unlimited.

Each calendar view gets its own entry in the config file and its own calendar data provider.

For every calendar view you want to add to your application;

  1. Add an entry to the array in config/nova-calendar.php using a new calendar key, a unique url and a new calendar data provider class
  2. Add an extra instance of the NovaCalendar tool to the tools() method in your NovaServiceProvider, supplying the new calendar key to its constructor
  3. If you create your own menu; add a menu entry in the boot() method of your NovaServiceProvider, supplying the new calendar key to the path helper
  4. Implement the new calendar data provider alongside any existing ones

Implementing multiple calendar data providers


⬅️ Back to Documentation overview