Closed ambroisemaupate closed 6 years ago
Yes, just upgrade to the dev-master version and customize the Block entity like it's done in http://docs.sylius.org/en/latest/customization/model.html. Don't forget to customize the repository and grid as well.
Awesome, I was not on dev-master
branch so resource overriding was not working using annotations.
Thanks for you really quick answer.
No problem. I will tag a new release as soon as I find a minute. This feature is a definitely must on a stable branch.
I use sections to create a kind of block collection (for carousels) but I need them to be sorted using a dedicated
position
field.For example, create a
homepage-carousel
section then add many BlockImage into it. How do you sort them?Is it possible to extend
Block
entity to add position and Gedmo Sortable behaviour ?