-
Notifications
You must be signed in to change notification settings - Fork 158
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
How to sort blocks in sections #113
Comments
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 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. |
Keep predefined directories in "web" in test application
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 ?The text was updated successfully, but these errors were encountered: