From 4a183ca344b48a75e9bb3d40d2b21bcccd6183bd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=BCrgen=20Mummert?= Date: Wed, 4 Mar 2026 16:01:41 +0100 Subject: [PATCH] fix: improve bundle auto-enable compatibility --- README.md | 12 +++++++++--- composer.json | 3 ++- 2 files changed, 11 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index 0633ade..08c14f8 100644 --- a/README.md +++ b/README.md @@ -14,6 +14,12 @@ Contao 5.7 Bundle für eine Pinwand mit frei angeordneten Pinnwandeinträgen. ## Installation (Bundle im Projekt einbinden) 1. Bundle per Composer einbinden. -2. Cache leeren. -3. Datenbank aktualisieren. -4. Assets installieren, damit CSS/JS unter `bundles/contaopinboard/` verfügbar sind. +2. Falls Composer-Plugins im Zielsystem eingeschränkt sind, Bundle manuell in `config/bundles.php` aktivieren: + + ```php + Eiswurm\ContaoPinboardBundle\ContaoPinboardBundle::class => ['all' => true], + ``` + +3. Cache leeren. +4. Datenbank aktualisieren. +5. Assets installieren, damit CSS/JS unter `bundles/contaopinboard/` verfügbar sind. diff --git a/composer.json b/composer.json index 80e8ceb..5a69236 100644 --- a/composer.json +++ b/composer.json @@ -5,7 +5,8 @@ "license": "proprietary", "require": { "php": "^8.4", - "contao/core-bundle": "^5.7" + "contao/core-bundle": "^5.7", + "contao/manager-plugin": "^2.0" }, "autoload": { "psr-4": {