Summary

This module loads Bootbox.js via Libraries API, regardless of the theme you are using.
It does nothing else.


See the documentation of Bootbox.js for more information on how to use the library.

Installation

  1. Download bootbox.min.js file and place it on /sites/all/libraries/bootboxjs or use drush bootboxjs-plugin.
  2. Install and enable the module

Usage

In your module code, add the library with libraries_load() and drupal_add_library().
If unsure where, add it in an implementation of hook_init().
Use 'bootboxjs' for both the module and library name arguments, like this:

libraries_load('bootboxjs');
drupal_add_library('bootboxjs', 'bootboxjs');

Requirements

Bootstrap v3.x with modal.js.

Configuration

None required.

Project information

Releases