This is an old version of the document!
Die White Label Konfiguration von Benno MailArchiv ermöglicht eine einfache Anpassung des Web-Interfaces an das unternehmenseigene Corporate Design. Für die Anpassung werden ein überarbeitetes Stylesheet sowie ein Logo und ein zugehöriges Favicon benötigt.
These three files are stored under a separate path so that they are not overwritten during system updates.
The web server creates an alias for the path to the configuration files. The Apache web server configuration includes a commented-out example of this.
## Theme Path #Alias /benno/theme /etc/benno-web/theme #<Directory /etc/benno-web/theme> # Require all granted #</Directory> Alias /benno /srv/benno/bennoweb/htdocs<Directory /srv/benno/bennoweb/htdocs> Require all granted</Directory>
To activate, the comment characters are removed and the configuration is reloaded using `service apache2 reload`
The directory is created and the customized files for stylesheet, logo and favicon are copied here.
mkdir /etc/benno-web/theme chmod 0755 /etc/benno-web/theme chgrp www-data /etc/benno-web/theme
The URLpaths to the individual files are configured in the Benno Web configuration file ( /etc/benno-web/benno.conf )
THEME_PATH = /benno/theme THEME_LOGO = /benno/theme/custom_logo.png
The custom.css file should contain a reference to the background logo of the login screen.
/* Customized Stylesheet */ #b_login_form_logo { background-image:url(custom_logo.png); width: 86%; margin: 20px 7%; } #header_logo { width: 100px; height: 20px; margin: 17px 10px 10px; } /* ... */
Once these settings are active, the corresponding files will be delivered upon display.
A customized theme must contain the following files.
Das Stylesheet mit dem vorgegebenen Namen
Icon Dateien mit den vorgegebenen Namen:
Die Logo Datei mit beliebigem Namen: