solidwork / contao-subline-bundle
Fügt dem Überschriften-Element eine Subline hinzu.
Installs: 9
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 0
Forks: 0
Open Issues: 0
Type:contao-bundle
pkg:composer/solidwork/contao-subline-bundle
Requires
- php: ^8.1
- contao/core-bundle: ^5.3
README
The Contao Subline Bundle extends Contao's native Headline content
element by adding a Subline field.
The subline can be optionally displayed above or below the
headline.
Insert Tags and custom styling are fully supported.
✨ Features
- Adds a Subline field to the "Headline" content element\
- Display subline above or below the headline\
- Insert Tags supported\
- Clean CSS class naming\
- Compatible with Contao 5.3+\
- Available in English and German
📦 Installation
1. Install the bundle
Via Contao Manager (recommended)
-
Open Contao Manager\
-
Search for:
solidwork/contao-subline-bundle -
Install the package\
-
Click Apply changes
Via Composer
composer require solidwork/contao-subline-bundle
🔧 2. Update the installation
After installing the bundle, you must:
Clear the Contao cache
vendor/bin/contao-console cache:clear
Run the database migration
vendor/bin/contao-console contao:migrate
These steps create the new database field used for the subline.
🧩 Usage
- Create or edit a Headline content element\
- Enter text into the Subline field\
- Select the Subline Position:
- Above the headline (default)\
- Below the headline\
- Save the element --- Contao handles the output automatically
📄 License
Licensed under the LGPL-3.0 license.
🤝 Contributing
Feedback, bug reports or pull requests are welcome.