codesache/contao-backend-user-style-bundle 问题修复 & 功能扩展

解决BUG、新增功能、兼容多环境部署,快速响应你的开发需求

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

codesache/contao-backend-user-style-bundle

Composer 安装命令:

composer require codesache/contao-backend-user-style-bundle

包简介

Adds a per-user toggle in the Contao 5 backend profile to enable or disable custom CSS and JS.

README 文档

README

Adds a checkbox to each backend user's profile to individually enable or disable custom CSS and JavaScript in the Contao 5 backend.

Installation

composer require codesache/contao-backend-user-style-bundle

Run migrations after installation:

php bin/console contao:migrate

Usage

The bundle ships with its own default backend styles. No configuration is required out of the box.

Each backend user will find a checkbox „Backend-Anpassungen aktivieren" in their profile under the Backend-Theme section.

Custom CSS/JS

To use your own files instead of the bundled defaults, add to config/config.yaml:

codesache_backend_user_style:
    css:
        - files/backend/my-custom.css
    js:
        - files/backend/my-custom.js

Paths are relative to the project's public/ directory.

Requirements

  • PHP 8.2+
  • Contao 5.3+

License

MIT – see LICENSE

统计信息

  • 总下载量: 0
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 0
  • 点击次数: 3
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 0
  • Watchers: 0
  • Forks: 0
  • 开发语言: CSS

其他信息

  • 授权协议: MIT
  • 更新时间: 2026-06-17