It would be great if we could optionally define a field within a multigroup on which to sort groups when they are displayed. For example, if we're entering journal-like entries with dates attached, a user could make entries without having to worry about what order they were in, and the multigroup module would re-order them chronologically when the node is saved so that they would display in the correct order.

Comments

markus_petrux’s picture

Interesting request. This would require someone to write this add-on as I don't have the time. I would be happy to review patches.

markus_petrux’s picture

Status: Active » Postponed

Until there is a patch for review...

edemus’s picture

Also looking forward to this extension. Subscribe

markus_petrux’s picture

Category: feature » support
Status: Postponed » Fixed

Let me turn this into a support request. Honestly, I will not have the time for this any time soon, and I think this can be better resolved in contrib. There's no API in CCK that allows us to sort fields. We would have to invent something and then fields would have to implement some kind of hook that tells us how to sort them, etc.

On the other hand, now that we have a method to sync deltas for fields in multigroups (See: #416154: Synchronized deltas Views integration: Filter on equal deltas in multigroups), this could be done with a View that gets the nid as an argument. For example, you could try it with Views attach.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.

Kaeldur’s picture

What's the status on this? I'm interested in this feature as well, but, if I could add on to it, I would prefer various sortable nodes with priorities...