Download the PHP package bwein-net/contao-dismissable-banner-element without Composer
On this page you can find all versions of the php package bwein-net/contao-dismissable-banner-element. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download bwein-net/contao-dismissable-banner-element
More information about bwein-net/contao-dismissable-banner-element
Files in bwein-net/contao-dismissable-banner-element
Package contao-dismissable-banner-element
Short Description Dismissable Banner Element for Contao Open Source CMS
License MIT
Homepage https://github.com/bwein-net/contao-dismissable-banner-element
Informations about the package contao-dismissable-banner-element
Dismissable Banner Element for Contao Open Source CMS
This Bundle provides a dismissable banner content element. The dismiss of the banner is stored in the local storage of the browser. The banner will also be shown again after the configured expiry time (default: 30 days) or if it has been modified in the back end since the dismiss of the user.
Installation
Install the bundle via Composer:
Configuration
After the installation you can add and configure new content elements "Dismissable banner" to the articles. You can fill a headline, text, optional link and expiry time of the dismiss for the local storage (default: 30 days).
You can even set some css classes of the included styling for the banner: success, danger, warning, info
Styling
You can override the template ce_dismissable_banner.html5
and remove the lines for the included stylesheets or you can extend the template and add the following lines to your new template:
Caution: If your remove the data
attributes of the enclosing container or the Javascript asset, the extension will stop working!
Screenshots
Back end
Front end
Sponsors
This Extension was commissioned and financed by https://www.medienflieger.de/
All versions of contao-dismissable-banner-element with dependencies
contao/core-bundle Version ^4.13 || ^5.0
symfony/config Version ^5.4 || ^6.0
symfony/dependency-injection Version ^5.4 || ^6.0
symfony/http-foundation Version ^5.4 || ^6.0
symfony/http-kernel Version ^5.4 || ^6.0