solidwork / contao-backend-labels-bundle
Enhances Contao 5 backend labels for content elements and articles by displaying CSS ID, CSS class and additional info.
Package info
github.com/ArturJo/contao-backend-labels-bundle
Type:contao-bundle
pkg:composer/solidwork/contao-backend-labels-bundle
Requires
- php: ^8.1
- contao/core-bundle: ^5.3
- contao/manager-plugin: ^2.0
Requires (Dev)
Conflicts
- contao/core-bundle: <5.3
This package is auto-updated.
Last update: 2026-03-11 13:40:58 UTC
README
Contao Backend Labels Bundle
Enhances the Contao 5 backend by displaying CSS ID and CSS class directly in the labels of content elements and articles — so you can identify styled elements at a glance without opening them.
Features
- Content elements: Shows
cssIDandcssClassin the element label. Forelement_group, also shows the number of child elements. - Articles: Shows
cssIDandcssClassin the article label. - Per user group: Enhanced labels are opt-in — only members of groups with the setting enabled will see them. Admins always see them.
Requirements
- PHP ^8.1
- Contao ^5.3
Installation
Install via Composer:
composer require solidwork/contao-backend-labels-bundle
Or install via the Contao Manager.
After installation, run the database migrations:
php vendor/bin/contao-console contao:migrate
Configuration
Enhanced labels are opt-in per user group. After installation:
- Go to System → User groups in the Contao backend.
- Open the user group that should see enhanced labels.
- Enable the checkbox Show enhanced labels in the Backend labels section.
- Save.
Members of that group will now see CSS ID, CSS class, and additional info in the backend labels. Admin users always see the enhanced labels regardless of group settings.
License
LGPL-3.0-or-later