Hi all,
I have a view using display suite for the formatting and my customer wants to be able to set the order using drag and drop. Draggable views makes light work of manual sorting, but it doesn't play nice with display suite. The view is configured to use display suite for the display and has the draggable views weight field for the sorting, but the weight is totally ignored.
I have a separate view to do the sorting. I just need the sort order to be respected in the view using display suite.
Can draggable views be used in combination with display suite in a view? How?
Thanks
Bert
Hi Bert,
If you don't get any response from this list, I would recommend a support request at the Draggable Views issue queue, and if that doesn't yield anything then try the Display Suite issue queue.
I have used Draggable Views, but never in conjunction with Display Suite.
Good luck,
Shai
Shai Gluskin Content2zero
On Sep 24, 2014, at 10:16 AM, Bert Van Kets bertvankets@gmail.com wrote:
Hi all,
I have a view using display suite for the formatting and my customer wants to be able to set the order using drag and drop. Draggable views makes light work of manual sorting, but it doesn't play nice with display suite. The view is configured to use display suite for the display and has the draggable views weight field for the sorting, but the weight is totally ignored.
I have a separate view to do the sorting. I just need the sort order to be respected in the view using display suite.
Can draggable views be used in combination with display suite in a view? How?
Thanks
Bert
[ Drupal support list | http://lists.drupal.org/ ]
Hi,
I suggest (temporarily) that you add a weight field for sorting purposes. On 24 Sep 2014 17:17, "Bert Van Kets" bertvankets@gmail.com wrote:
Hi all,
I have a view using display suite for the formatting and my customer wants to be able to set the order using drag and drop. Draggable views makes light work of manual sorting, but it doesn't play nice with display suite. The view is configured to use display suite for the display and has the draggable views weight field for the sorting, but the weight is totally ignored.
I have a separate view to do the sorting. I just need the sort order to be respected in the view using display suite.
Can draggable views be used in combination with display suite in a view? How?
Thanks
Bert
[ Drupal support list | http://lists.drupal.org/ ]
I found the solution. YAY!
1. Add an integer field to your content type (I called it field_order). 2. Create a new view for sorting. Set it to Table format. 3. Remove the sort fields and then add the integer field you added above to the sort criteria. 4. Add the Draggableviews: content to the fields, set it to use FieldAPI and point it to the integer field. 5. In the view using display suite, set the integer field as your primary sort criteria field.
Set the order using the sorting view and check the change in the original view.
Bert
On 24/09/14 16:16, Bert Van Kets wrote:
Hi all,
I have a view using display suite for the formatting and my customer wants to be able to set the order using drag and drop. Draggable views makes light work of manual sorting, but it doesn't play nice with display suite. The view is configured to use display suite for the display and has the draggable views weight field for the sorting, but the weight is totally ignored.
I have a separate view to do the sorting. I just need the sort order to be respected in the view using display suite.
Can draggable views be used in combination with display suite in a view? How?
Thanks
Bert