Download & Extend

RE Context Libraries

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

Version Downloads Date Links
7.x-2.0 tar.gz (11.9 KB) | zip (16.3 KB) 2011-Sep-22 Notes
6.x-1.1 tar.gz (13.63 KB) | zip (18.4 KB) 2011-Sep-26 Notes

Development releases

Version Downloads Date Links
7.x-2.x-dev tar.gz (11.91 KB) | zip (16.31 KB) 2011-Sep-27 Notes
6.x-1.x-dev tar.gz (13.64 KB) | zip (18.4 KB) 2011-Sep-27 Notes

Project Information


Maintainers for RE Context Libraries

  • bedlam - 105 commits
    last: 34 weeks ago, first: 1 year ago

Issues for RE Context Libraries

To avoid duplicates, please search before submitting a new issue.
All issues
Bug reports