c3-environment-banner

Magento Extension
Download latest - 1.1.1

For any Magento user who has both a live site and a test/staging site.

Have you ever performed an action - deleted a product or created a promotion live, only to realise that you've accidentally done it on the production site rather than a development copy? Be honest now.

If so, this extension is for you. It adds a discrete corner banner to the frontend of non-production websites (fail-safe - if it doesn't know what environment it is in then it assumes it is on a production server). It is more striking on the admin side, where the entire title bar is colour-coded, and a border added to the page so that no matter how long the page (I'm looking at you, system config), you'll always have a visual reminder of which environment you are in.

How it works: The environment is picked up from the commonly used APPLICATION_ENV environment variable. This is set by the web-server, and for apache it just means adding in a single line to your .htaccess file. e.g.
SetEnv APPLICATION_ENV "staging"

Information
You can set any set of environments and colours in the admin interface. As default these are: production, staging, preview and development
The extension is Open source on GitHub
Include via composer or modman
Oldest supported CE version is 1.6.0.0
Tested in EE 1.13.0.0 to 1.14.0.1
Developed by C3 Media, a full service Magento agency

Releases (2)

Date Version Notes
2014-10-07 1.1.1


  • Bug fix: Admin displays incorrectly if no env var or colour set

2014-10-01 1.1.0


  • Safe. DOES NOT display on production sites - fails safe to display nothing if it does not recognise the environment

  • Display corner banner on front end pages

  • Optionally change colour in admin

  • Fully modifiable and extensible list of environments

  • Use safety colours (defaults to traffic lights) or set your own