diff --git a/README.md b/README.md index f9a00e2..5682449 100644 --- a/README.md +++ b/README.md @@ -24,10 +24,8 @@ $ composer require code-rhapsodie/ezautosave-bundle ### Register the bundle -#### Symfony 4+ (new tree) - -For Symfony 4+, add `CodeRhapsodie\EzAutosaveBundle\CodeRhapsodieEzAutosaveBundle::class => ['all' => true], -` in the `config/bundles.php` file. +Add `CodeRhapsodie\EzAutosaveBundle\CodeRhapsodieEzAutosaveBundle::class => ['all' => true], +` in the `config/bundles.php` file, just before the `EzPlatformAdminUiBundle` line. Like this: @@ -37,29 +35,11 @@ Like this: return [ // ... CodeRhapsodie\EzAutosaveBundle\CodeRhapsodieEzAutosaveBundle::class => ['all' => true], + EzSystems\EzPlatformAdminUiBundle\EzPlatformAdminUiBundle::class => ['all' => true], // ... ]; ``` -#### Symfony 3.4 (old tree) - -For Symfony 3.4, add a new line in the `app/AppKernel.php` file. - -Like this: - -```php -=7.2", - "ezsystems/ezplatform-admin-ui": "^1.0", - "ezsystems/ezpublish-kernel": "^7.0" + "php": ">=7.3", + "ezsystems/ezplatform-admin-ui": "^2.0", + "ezsystems/ezplatform-kernel": "^1.0" }, "config": { "sort-packages": true diff --git a/src/Resources/views/themes/admin/content/content_edit/content_edit_base.html.twig b/src/Resources/views/themes/admin/content/edit/base.html.twig similarity index 62% rename from src/Resources/views/themes/admin/content/content_edit/content_edit_base.html.twig rename to src/Resources/views/themes/admin/content/edit/base.html.twig index 72f1d5b..dad76b5 100644 --- a/src/Resources/views/themes/admin/content/content_edit/content_edit_base.html.twig +++ b/src/Resources/views/themes/admin/content/edit/base.html.twig @@ -1,4 +1,4 @@ -{% extends 'EzPlatformAdminUiBundle:content/content_edit:content_edit_base.html.twig' %} +{% extends '@EzPlatformAdminUi/themes/admin/content/edit/base.html.twig' %} {% block javascripts %} {{ parent() }}