Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Documentation] Add missing upgrade notice for the ArticleBundle #313

Merged
merged 1 commit into from
Apr 13, 2015
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 12 additions & 0 deletions UPGRADE-3.1.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,17 @@
# UPGRADE FROM 3.0 to 3.1

## Manual upgrade needed in generated adminlist Twig templates for the ArticleBundle

When using the Article generator, it will create a list.html.twig template in your website bundle. Due to the upgrade to Bootstrap 3, these templates need to be updated, unfortunately by hand.

Change the ```extra_actions_header``` block to match the one from the GeneratorBundle found in:

```
vendor/kunstmaan/bundles-cms/src/Kunstmaan/GeneratorBundle/Resources/SensioGeneratorBundle/skeleton/article/Resources/views/PageAdminList/list.html.twig
```

Replace all variables to match your original version

## Deprecated the service method in Pages in favour of controller methods

You should remove the service method in your entities and replace them by implementing the SlugActionInterface. Add the method getControllerAction and make it return a callable string.
Expand Down