You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Dec 18, 2020. It is now read-only.
Could you please explain me how to implement this feature to my sulu-minimal v1.5.3? I need to change the ordering just once but it is very important for me now.
you could extend the Category entity (see http://docs.sulu.io/en/latest/cookbook/extend-entities.html) for categories use the configuration sulu_category.objects.{model, repository}. there you can add a column order which you can set over the database and then use this column to write SQL statements in you controller. if you have any deeper question you can contact us directly over slack (register on http://sulu.io/en#questions)
@ilyasavitski if you just want to reorder it once you could write a symfony command to reorder the categories and use the moveUp and moveDown function from the repository. The categories use the Gedmo Tree extension. Which also have a simple reorder funciton in the repository. The categories repository service you get with sulu.repository.category.
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Is there any way to reorder categories?
The text was updated successfully, but these errors were encountered: