markocupic/contao-staging-installation-banner

With this extension for Contao CMS, you can display a banner on your staging environment so that there is no confusion with the productive environment during daily work.

2.0.3 2024-12-27 13:43 UTC

This package is auto-updated.

Last update: 2025-01-27 13:49:19 UTC


README

Alt text

Contao Staging Installation Banner

With this extension for Contao CMS, you can display a banner on your staging environment so that there is no confusion with the productive environment during daily work.

Backend: Alt text

Frontend: Alt text

In order to display the banner in the frontend, it is necessary to integrate a frontend module into the layout.

And in a further step, you need to make a small change in your configuration on the staging environment.

# config/config.yaml
# this has to be done on the staging environment only

markocupic_contao_staging_installation_banner:
    is_staging_system: true
    backend_banner_translatable_text: '!!! STAGING SYSTEM !!!'
    backend_banner_bg_color: '0082C7'
    backend_banner_text_color: 'FFFFFF'