drupal development. drupal support. drupal training.

Environment Indicator

Environment Indicator

The Environment Indicator adds a coloured strip to the side of the site informing you which environment you're currently in (Development, Staging, Production etc). This is incredibly useful if you have multiple environments for each of your sites, and like me, are prone to forgetting which version of the site you are currently looking at.

This module can help you avoid making configuration changes to your live server by mistake by adding a coloured strip to the side of your site, clearly marking each version of the site.

The Environment Indicator settings page allows you to modify some elements of the indicator's behaviour and appearance. Individual settings, such as the text to display and the colour can be overridden for each of your specific environments in the site's settings.php file. This allows you to customise the indicator for each of your environments without needing to make any changes in the database. This means that the Environment Indicator will always display correctly when moving your site from development to staging to production.

Examples of how to override settings in settings.php:

environment_indicator_text
The text that will be displayed vertically down the indicator. e.g:
$conf['environment_indicator_text'] = 'DEVELOPMENT SERVER';
environment_indicator_color
A valid css color. e.g:
$conf['environment_indicator_color'] = 'dark-red';
environment_indicator_enabled
A boolean value indicating whether the Environment Indicator should be enabled or not. On your production environment, you should probably set this to FALSE. e.g:
$conf['environment_indicator_enabled'] = FALSE;

The Environment Indicator's visibility depends upon the permissions of the viewer (access environment indicator).

Credit

Environment Indicator is being developed by Tom Kirkpatrick (mrfelton) of SystemSeed. The author may be contacted for paid customisations of this module, Drupal consultation or other Drupal-related projects.

How can you get involved?

* Write a review for this module on drupalmodules.com.
* Report any bugs, feature requests, etc. in the issue tracker.
* Contact the maintainer with any comments, questions, or a quote for custom module customisations.

Downloads

Version Downloads Date Links
7.x-1.1 tar.gz (11.34 KB) | zip (14.15 KB) 2011-Nov-19 Notes
6.x-1.1 tar.gz (10.7 KB) | zip (13.58 KB) 2011-May-13 Notes

Project Information