Skip to main content

This site requires you to update your browser. Your browsing experience maybe affected by not having the most up to date version.

We've moved the forum!

Please use forum.silverstripe.org for any new questions (announcement).
The forum archive will stick around, but will be read only.

You can also use our Slack channel or StackOverflow to ask for help.
Check out our community overview for more options to contribute.

Archive /

Our old forums are still available as a read-only archive.

Moderators: martimiz, Sean, Ed, biapar, Willr, Ingo

Drag and Drop sorting within CMS


Go to End


4 Posts   2236 Views

Avatar
greg.tidwell

Community Member, 6 Posts

25 January 2008 at 2:15am

FAQ extends DataObject

Each FAQ can belong to a number of different pages on the site.
For each page, I need to give the user the ability to sort the FAQ's. So when they are displayed in a template, they will be sorted via a Sort field, not alphabetically ('Why are...','Why is...')

I was hoping to do this through Drag and Drop interface instead of Dropdowns. Does anyone have suggestions on how to accomplish this?

Avatar
Sigurd

Forum Moderator, 628 Posts

25 January 2008 at 10:52am

We've done this in the past to have products in multiple product groups, and use the CMS interface to manage the order of products in each group.

I'll see if I can get someone to dig up some code.

Avatar
Fuzz10

Community Member, 791 Posts

25 January 2008 at 11:42pm

just subscribing to this thread....

We've been kind of needing the same thing...
The Scriptaculous solution is kinda' neat I think :

http://demo.script.aculo.us/ajax/sortable_elements

Avatar
BLU42 Media

Community Member, 71 Posts

28 July 2008 at 11:53am

I'm bouncing this to the top to see if anyone's had any success in getting this to work. I'd certainly be interested for a current project!

Thanks!
John