I have created a collection type in Strapi and added multiple pages to it. I would like to reorder these pages using a drag-and-drop interface, similar to the dynamic zones component. Is there a built-in way to achieve this in Strapi, or do I need to implement a custom solution? Any guidance or examples would be greatly appreciated.
This topic has been created from a Discord post (1253933689268731924) to give it more visibility.
It will be on Read-Only mode here.
Join the conversation on Discord
This is currently not possible, you can add relation to some other content type and reorder in there
However I doubt it’s a good solutions if you have a lot of items
I’d like to ask your use case for why, we allow filtering and sorting in this view for the content types, but reordering them seems odd?
If you’re wanting them in a specific order in your frontend, you could add a custom controller and add some logic to sort them by a specific field, or handle it in your frontend.
<@347119534957789187> My use case is that, I want to set pages in a specific order and whenever i want to change or reorder then I can do it and as per this pages order I want to show content on frontend side.
Open a feature request on the repo