I have setup Flag weight and draggableviews according to the documentation available.

Once I completed this everything is working fine, but I require the use of parent sorting for hierarchy view.

If you use the draggableview parent variable with out a relationship it shares the variable for all users, and this won't work, and when you try to use the draggableview with the flag:user relationship it goes always breaks the structure.

I was going to attempt making my own handler but I think it would be better to piggyback on the flag weight module.

Does anyone know what this would involve? Would it be as easy as creating another field and a new handler? or should this be it's own module?

Comments

chitownguy’s picture

Thank you in advance.

chitownguy’s picture

Component: Documentation » Code
chitownguy’s picture

Priority: Normal » Critical
chitownguy’s picture

bump

lyricnz’s picture

Priority: Critical » Normal

chitownguy: It's not "critical" for the module just because you need it. I don't know how to do what you're asking, perhaps you can provide a patch, and documentation, for flag_weights module?

c-c-m’s picture

I would also like to have hierarchical categorization in this module.

runzipel’s picture

+1

lyricnz’s picture

Status: Active » Postponed (maintainer needs more info)

Somebody needs to provide a patch.

cindyr’s picture

The ability to have parent relationship/hierarchy would be awesome, especially for D7.

lyricnz’s picture

Version: 6.x-1.x-dev » 7.x-1.x-dev

Like I said in 2010, I don't understand what you're asking, or how to do it. Moving to D7, as that where any new feature would be implemented.

lyricnz’s picture

PS: Draggable Views 7.x-2.0 doesn't support parent hierarchy yet

cindyr’s picture

I'm using Flag Weights and Draggableviews. What I'm ultimately trying to achieve is twofold:

1. Have the user identify how many "folders" they would like to categorize their list into (maybe via an exposed form, maybe a content type, maybe a profile field, still haven't figured the best option for this...)
2. Be able to drag their lists into those folders. This requires the parent hierarchy, which I think is a Flag Weights issue (but maybe it's Draggableviews?).

Example usage: someone has selected a variety of songs they like via flags. At the draggable list view, I'd like them to be able to identify how many categories they want (and preferably name them, but I can live without that), so some songs would be dragged under a parent folder that represents "Pop", another for "Country", another for "Reggae" etc.

Does Flag Weights accommodate my needs in #2?

lyricnz’s picture

It certainly doesn't do #2 yet, but if support for parents were added to Flag Weights, it could theoretically be used for the sorting part of it. I had a play with that this morning, but am way behind the game on Views internals, so it's slow going.

cindyr’s picture

Thanks for looking into this. It looks like some progress was made on this in DraggableViews, but progress seems to have stalled lately. If they get their end working, maybe you could just tie Flag Weights into their system: http://drupal.org/node/566332