Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Contextual Elements provides an interface to allow administrators to add HTML elements to the headers and footers of their site given certain criteria.
The use case that spawned this module is the need to implement a Google Analytics like module that was capable of handling multiple GA codes. The filtering system was modeled from the GA module.
Installation
- Download the Contextual Elements module and place it in your site's "modules" directory. (usually "sites/all/modules/contrib")
- In your site, enable the module.
- Enable permissions for the allowed roles. BE EXTREMELY CAUTIOUS! This module permits users with the proper permissions to embed ANY code into the header and the footer of the site!
- Go to Configuration > Search and metadata > Contextual Elements to begin creating elements.
If you would like to help, patches are always welcomed.
Project information
- Unsupported
Not supported (i.e. abandoned), and no longer being developed. Learn more about dealing with unsupported (abandoned) projects - No further development
No longer developed by its maintainers. - Created by KeyboardCowboy on , updated
- Stable releases for this project are covered by the security advisory policy.
Look for the shield icon below.
Releases
7.x-1.1
released 20 October 2012
Works with Drupal: 7.x
✓ Recommended by the project’s maintainer.
Development version: 7.x-1.x-dev updated 6 Jul 2016 at 20:22 UTC