Download the PHP package signify-nz/silverstripe-environmentindicator without Composer
On this page you can find all versions of the php package signify-nz/silverstripe-environmentindicator. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download signify-nz/silverstripe-environmentindicator
More information about signify-nz/silverstripe-environmentindicator
Files in signify-nz/silverstripe-environmentindicator
Package silverstripe-environmentindicator
Short Description Vendor module to add an environment indicator in the CMS as well as information bar for the front-end.
License BSD-3-Clause
Homepage https://github.com/signify-nz/silverstripe-environmentindicator
Informations about the package silverstripe-environmentindicator
Environment Indicator
The Environment Indicator Vendor Module reads the SS_ENVIRONMENT_TYPE variable in your .env file (dev, test or live) and loads the applicable javascript to insert a custom div above the menu header in the CMS Admin interface.
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.
Requirements
Installation
Composer:
Documentation
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.
- Changelog
- Contributing
- Issues
- License
Usage
This module performs an informative function only. No special usage instructions are available.
All versions of silverstripe-environmentindicator with dependencies
silverstripe/cms Version ^4.0 || ^5.0
silverstripe/framework Version ^4.0 || ^5.0
silverstripe/vendor-plugin Version ^1.0 || ^2.0
silverstripe/versioned Version ^1.0 || ^2.0