Introduction
Developed by Raised Eyebrow Web Studio
In Drupal, modules are often used to provide access to javascript libraries, but it's often undesirable to include those libraries on every page. The theming system makes it possible to specify where and when a javascript library file is included, but this system is not always sufficiently flexible.
The Context module provides a way of defining 'reactions' (such as blocks) to specific contexts (such as path, page or view), but there's no default way to use Context to include a javascript library.
The RE Context Libraries module provides a way to make javascript (or CSS) libraries available as reactions in contexts. To make individual javascript library files available, it is only necessary to write a very short 'library' module. These modules register their js and/or css files with the system so that they can be used as 'reactions' within the context administration form. The module includes a sample module that illustrates the requirements for a library module, "RE CL Example".
Downloads
Recommended releases
Development releases
Project Information
- Maintenance status: Actively maintained
- Development status: Under active development
- Module categories: JavaScript Utilities, Theme Enhancements, Utility
- Reported installs: 20 sites currently report using this module. View usage statistics.
- Downloads: 307
- Last modified: February 28, 2012