Vendor module to add an environment indicator in the CMS as well as information bar for the front-end.
The EnvBarExtension also inserts a custom element into the HTML of all pages to provide an information bar detailing the environment and page version. If the logged-in user has access to pages in the CMS, the bar acts as a link to open the page in the CMS via a new browser tab.
The bar does not appear in live mode for unauthorised users.
composer require signify-nz/silverstripe-environmentindicator
No further configuration is required.
Customisation can be achieved by editing the EnvBar.ss template or the envbar- .js and .css files. Functional tests are available in the tests directory. These will need to be updated if you modify the template.
This module performs an informative function only. No special usage instructions are available.