Closed (fixed)
Project:
DraggableViews
Version:
7.x-1.x-dev
Component:
Code
Priority:
Critical
Category:
Task
Assigned:
Unassigned
Reporter:
Created:
22 Nov 2011 at 09:53 UTC
Updated:
25 Feb 2013 at 03:50 UTC
As now views support forms:
http://nodeone.se/blogg/form-elements-in-views
http://drupal.org/node/769322
The idea is to rewrite module using this functionality.
In first instance we won't implement hierarchy but only reordering. Main accent is to have Native handler for saving weights of the items based on arguments passed to the view. I.e. we can have a view that lists nodes by taxonomy term and reorder nodes depending on the term passed as argument.
I plan to develop some usable version of the module during DrupalCamp Donetsk (http://donetsk.drupal.ua/ 25-27 Nov 11).
Please comment here what other features you think we can take.
Comments
Comment #1
zambrey commentedThis is actually great news! Here's my list of must-have features:
+1 for separation of flat and hierarchy sorting.
Keep hierarchy sorting as separate module / views style plugin as it makes things too complicated for simple flat ordering.
+1 for general entity handling
+1 for easy integration with Search API
Comment #2
philipz commentedThis is fantastic news!
I'm testing it right now and it's usable already. I've got one administration view with DraggableViews field and second view for displaying content using DraggableViews weight field. So far no errors. You wrote here http://drupal.org/node/634230#comment-4582058 that it's not possible but this new approach let's me select "Display operations as" field which I selected the same for presentation view and administration view (both have administration view option selected).
+1 Feeds/Migrate integration
+1 VBO integration in single view (maybe it's done already by the new approach?)
Comment #3
ygerasimov commented@philipz thank you for positive feedback. What do you mean by Feeds/Migrate integration?
Comment #4
philipz commentedI know that when Field API handlers will be ready the Feeds or Migrate will be able to import order/weight into the integer field serving as weight field for DraggableVIews - I've done that already. What I mean is a way to import order/weight into native handler somehow (specifying the view id for example during mapping process).
RIght now I think it also could be nice to transfer weight data between native and Field API handlers too. If I have lots of sorted data but in native handler and I wanted to switch that to Field API without losing all the work it would be nice. I don't know how to present that in the UI at the moment though. So...
+1 transfer weight data between native and Field API handlers
Comment #5
istryker commentedMarking this as fixed, as 7.x-2.x-dev has been completely rewritten. From what I can tell, this uses the new views_form