Skip to content

Commit

Permalink
2.0 for Ibexa 3
Browse files Browse the repository at this point in the history
  • Loading branch information
jeremycr committed Oct 6, 2021
1 parent 6748770 commit cbd722c
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 27 deletions.
26 changes: 3 additions & 23 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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:

Expand All @@ -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
<?php
// app/AppKernel.php

public function registerBundles()
{
$bundles = [
// ...
new CodeRhapsodie\EzAutosaveBundle\CodeRhapsodieEzAutosaveBundle(),
// ...
];
}
```

# Issues and feature requests

Expand Down
6 changes: 3 additions & 3 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,9 +25,9 @@
}
},
"require": {
"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
Expand Down
Original file line number Diff line number Diff line change
@@ -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() }}
Expand Down

0 comments on commit cbd722c

Please sign in to comment.