Requirements

Introduction

BAT for Drupal uses four components that are all required to get the full range of functionality.

  1. The - this provides the core booking functionality. The best way to install and manage it on your Drupal site is through
  2. The module is a wrapper around the library providing Entity, Views, Rules and Event Management via calendars.
  3. The provides REST access to event data and event manipulation. It powers functionality, such as, the dragging and dropping of events on the calendar UI.
  4. The as a UI to events.

Dependencies

Drupal Modules

  • > version 1.x
  • (a dependency of BAT API, also is currently required)
  • > version 2.x
  • - provides support for PSR-4 style name spaces
  • - to get the BAT PHP library
  • (a dependency of BAT API)

jQuery Libraries

  1. (check bat.make in the module directory for the correct version to download)
  2. . Please note that scheduler is a premium add-on to FullCalendar, and you must purchase a license if you intend to use it in a commercial project. See (Scheduler is not developed by Roomify) (check bat.make in the module directory for the correct version to download)
  1. (check bat.make in the module directory for the correct version to download)
  2. . Please note that scheduler is a premium add-on to FullCalendar, and you must purchase a license if you intend to use it in a commercial project. See (Scheduler is not developed by Roomify) (check bat.make in the module directory for the correct version to download)
  3. - This is not a strict requirement - it simply makes the creation of hour-based events easier.

Drush-based Setup

If you are familiar with Drush and Drush make, then you can use the project.make file in the BAT module repository to get all the modules required (in versions we have tested BAT with) and the FullCalendar Library. From your Drupal root directory run:

drush make --no-core sites/all/modules/bat/test/project.make

If you are familiar with Drush and Drush make, then you can use the bat.make file in the BAT module repository to get all the modules required (in versions we have tested BAT with) and the FullCalendar Library. From your Drupal root directory run:

drush make --no-core sites/all/modules/bat/bat.make

Composer

When installing the BAT module via composer, the BAT library will automatically be installed.

You will need to install Composer if you don’t have that already (a great idea since it will be needed for Drupal 8).

Follow the instructions from the to get set up.