Download the PHP package bwein-net/contao-backend-customizer without Composer
On this page you can find all versions of the php package bwein-net/contao-backend-customizer. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download bwein-net/contao-backend-customizer
More information about bwein-net/contao-backend-customizer
Files in bwein-net/contao-backend-customizer
Package contao-backend-customizer
Short Description Backend Customizer for Contao Open Source CMS
License MIT
Homepage https://github.com/bwein-net/contao-backend-customizer
Informations about the package contao-backend-customizer
Backend Customizer for Contao Open Source CMS
With this bundle, some parameters can be set via config, whereby the back end theme of Contao will be individually styled using CSS variables and Javascript.
Installation
Install the bundle via Composer:
Add the config parameters and clear the cache.
Configuration
In the config/config.yml
you can add the following parameters - all parameters are empty by default:
The header_title
is shown on the left side of the back end header next to the contao logo and on the back end login form.
With the header_color
you can override the typical contao color of the back end header.
The option header_invert
inverts the color of all header elements, if you set it to true
.
Ideally in the config/parameters.yml
you can set the environment parameters, so that it can differentiate between the deployed webspaces.
The env_title
is shown as badge on the back end header and login form.
You can set the following env_title
values - and then the environment badge will be shown in the color in brackets:
'local'
(red)'dev'
(orange)'staging'
(green)'prod'
(none - same as default~
)
To override the default color for the environment badge and main container, you can set the param env_color
and main_color
with color values.
Besides, if you use a different env_title
, the env_color
is mandatory to show the environment badge!
After manipulating the configuration you first have to clear the application cache to adopt new parameters to the back end.
Screenshots
All versions of contao-backend-customizer with dependencies
contao/core-bundle Version ^4.9 || ^5.0
symfony/config Version ^4.4 || ^5.4 || ^6.0
symfony/console Version ^4.4 || ^5.4 || ^6.0
symfony/dependency-injection Version ^4.4 || ^5.4 || ^6.0
symfony/event-dispatcher Version ^4.4 || ^5.4 || ^6.0
symfony/http-kernel Version ^4.4 || ^5.4 || ^6.0