1
Vote

Add support to allow content items to be positioned within their relationship with their "parents" or associated taxonomy terms

description

Use case scenario: An Athlete content type has a Team taxonomy field. An Athlete can be part of multiple Teams. Currently the position (sort order) of an Athlete is determined by its weight. The problem is that this does not allow for an athlete to have various positions per team.

Basically, I am requesting a feature where we can control the position per term per content item.

comments

sebastienros wrote Apr 30, 2013 at 9:38 PM

I think Athletes would be ordered by Creation date by default ... isn't it ?

sfmskywalker wrote May 2, 2013 at 12:51 AM

Yes exactly. The feature suggested here is to provide the ability to change that order manually. Do you think this is feasible to have as part of the Orchard.Taxonomies module?

sebastienros wrote May 2, 2013 at 4:36 PM

The taxonomy module creates relationships between content items and terms. You are asking to customize this relationship by adding more data. It means that you not only need to create some new table related to the TermContentItem record to add new properties, but also change the rendering of the Field editor to edit these values for each of the term.

For instance, while editing an Athlete, you would have to show a new textbox in front of each Team.

Now how do you customize what to edit for each team ? Could be a textbox or a picture or anything. As of today the relationship itself is not a content part. A possible extension maybe to allow this scenario, and let people add field to this part. And maybe this should be a dynamic Part in the same way we create dynamic content types for the taxonomies themselves.

And before you do anything stupid let's review the implications, and how to implement it. But definitely out of the current scope.