solidwork/contao-backend-labels-bundle
最新稳定版本:v1.0.2
Composer 安装命令:
composer require solidwork/contao-backend-labels-bundle
包简介
Enhances Contao 5 backend labels for content elements and articles by displaying CSS ID, CSS class and additional info.
README 文档
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
统计信息
- 总下载量: 30
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 1
- 点击次数: 2
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: LGPL-3.0-or-later
- 更新时间: 2026-03-10