Integration
Usage
Video tutorial

This project is not covered by Drupal’s security advisory policy.

IMPORTANT NOTE

This module's development has been merged into Environment Indicator in the 7.x-2.x release. All new features and buf fixes will be done there.

Please, go ahead and download it from there.


This module will help you to keep sane while working on your different environments by adding a configurable color bar to each one of your environments.

This module is very simmilar to Environment indicator with the key differences:

  • You can configure all your indicators from one place.
  • You can position your indicator to not to interfere with your design.
  • You can export your configurations to code and include them in GIT.
  • It can be used on dynamically generated environments.
  • Your site builders won't need to access your settings.php.
  • It's integrated with the features module.
  • It's integrated with the Toolbar module.
  • Integration with Admin menu module.

Usage

Watch the video. Video in Spanish.

Video

  1. Install your module as usual.
  2. Go to: admin/config/user-interface/envindicator and add an environmet by:
    1. Giving it a name.
    2. Setting a regular expression that will match the hostname. You can jus paste in your hostname.
    3. Select a color
    4. Select the position

Use cases

Hopefully your project has several of the following environments. By placing an indicator you will know with a glance where you are testing that last code, that you're about to configure the right environment, etc.

Environment/Tier Name Description
Local Developer's desktop/workstation
Virtual Machine VM hosted on developers desktop or possibly development server
Development Development server aka sandbox
Integration CI build target, or for developer testing of side effects
Test/QA For functional, performance testing, Quality Assurance etc.
UAT User acceptance testing
Stage/Pre-production Mirror of production environment
Production/Live Serves end-users/clients

Roadmap

  • Integration with core Toolbar module to use color scheme.
  • Integration with Admin menu module.
  • Context integration for visibility.
  • Context integration for environment detection.
  • Possibility to override environment detection.
  • Additional environment detection methods.
  • Left and right positioning.
  • Image indicators.

Credits

This module has been partially sponsored by Lullabot.

Project information

Releases