Skip to content

Commit

Permalink
Merge pull request #313 from roderik/articlebundle-upgrade-notice
Browse files Browse the repository at this point in the history
[Documentation] Add missing upgrade notice for the ArticleBundle
  • Loading branch information
krispypen committed Apr 13, 2015
2 parents f08d1c0 + 5bdb13b commit 8f34e18
Showing 1 changed file with 12 additions and 0 deletions.
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

0 comments on commit 8f34e18

Please sign in to comment.