Download the PHP package stefansl/contao-divider-bundle without Composer
On this page you can find all versions of the php package stefansl/contao-divider-bundle. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download stefansl/contao-divider-bundle
More information about stefansl/contao-divider-bundle
Files in stefansl/contao-divider-bundle
Package contao-divider-bundle
Short Description Content element and form field for Contao to generate a horizontal rule (hr). Simply choose the element type "divider" and save.
License LGPL-3.0-or-later
Homepage https://github.com/stefansl/contao-divider-bundle
Informations about the package contao-divider-bundle
Divider
Content element and form field for Contao to generate a simple hr (horizontal rule). Simply choose the element type "divider" and save.
See the demo here: https://demo.clickpress.de/index.php/divider.html
Requirements
- PHP 8.1+
- Contao 5.3 or Contao 6
Use version 1.x for Contao 4.
Installation
Install with the Contao Manager or with Composer:
Templates
| Element | Template |
|---|---|
| Content element | content_element/divider.html.twig (wrapper class content-divider) |
| Form field | form_divider.html.twig |
The content element is a fragment controller with a modern Twig template. Its
wrapper used to have the class ce_divider, it now has the class
content-divider like all Contao 5 content elements. Custom variants of the
template go into templates/content_element/divider/.
Upgrading from version 1
- The legacy templates
ce_divider.html5andform_divider.html5have been replaced by Twig templates. Convert your customized templates. - Adjust CSS that targets
.ce_dividerto.content-divider. - The classes
StefanSl\DividerBundle\ContentDividerandStefanSl\DividerBundle\WidgetDividerhave been replaced byStefanSl\DividerBundle\Controller\ContentElement\DividerControllerandStefanSl\DividerBundle\Widget\FormDivider.
All versions of contao-divider-bundle with dependencies
contao/core-bundle Version ^5.3 || ^6.0
symfony/config Version ^6.4 || ^7.0 || ^8.0
symfony/dependency-injection Version ^6.4 || ^7.0 || ^8.0
symfony/http-foundation Version ^6.4 || ^7.0 || ^8.0
symfony/http-kernel Version ^6.4 || ^7.0 || ^8.0