I know you can already reorder these values within the node edit form,

but would be good if this module could be used to reorder these values as well,

am going to have a look at the code and see what I can do,

there seems to be a delta column in the draggableviews_structure but not sure if that is there for potentially being used for this kind of functionality

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

sevi’s picture

there seems to be a delta column in the draggableviews_structure but not sure if that is there for potentially being used for this kind of functionality

No, i just need it to distinguish the "DraggableViews: Order" and "DraggableViews: Parent" fields when I save them to database.

stone_d’s picture

I would like to see that feature too.
In my case i use the taxonomy CCK field that holds a vocabulary of different categories a photographer is working in. Those are clickable for the users. But the order of those terms should be individual for every photographer.

So - is it very difficulty to implement?

davidwhthomas’s picture

+1 for this suggestion, I've been trying it out and got 90% of the way there.

Unfortunately, Draggableviews creates an invalid select box for each imagefield delta value. It defaults to the total number of images in the view, and not the actual imagefield delta value.

Thus, it fails to save the updated deltas.

My example view is attached, ready to import, if of any use.

It manipulates "field_images" on a "gallery" content type using imagefield delta.

However, it fails to update the delta at the final stage.

Any ideas?

stone_d’s picture

Anything new to this? I would really like that feature. Id also pay for that ...

gunwald’s picture

Does Draggableviews have that feature now?

iStryker’s picture

No. Not that i'm aware off. This is a problem in both 6.x & 7.x

hawkeye.twolf’s picture

In my case, I want to reorder Field Collections and use the built-in "delta" so that users may also reorder their FC items via the node edit form (default FC functionality).

This is almost possible with current DraggableViews, except that the "FieldAPI" option does not recognize the Field Collection Item's "delta" field as an integer after I add it to the Sorts. I'll probably go the route of adding a "weight" field to the field collection, and then use hook_node_presave() to set the weight field to the delta (when reordering via DraggableViews) and to set the delta field to the weight (when saving via the node edit form).

Cheers,
Derek

lunk rat’s picture

Issue summary: View changes

Reordering delta of a multi-value field using draggableviews would be awesome and useful.

Itangalo’s picture

+1 on this feature.

iStryker’s picture

Title: Support for reordering CCK delta values » Support for reordering delta values
Version: 6.x-3.x-dev » 7.x-2.x-dev
Assigned: benced » Unassigned

This probably won't get added to 6.x-3.x, as that branch is not really supported (patches are welcomed).

Moving the feature request version to 7.x-2.x.

TODO: Add field collection issue as related issue (pretty sure there is one that is open right now).