Jump to:

17452 Posts in 4473 Topics by 1971 members


SilverStripe Forums » Archive » many-to-many relation + attribute for relation

Our old forums are still available as a read-only archive.

Moderators: martimiz, Sean, biapar, Willr, Ingo, simon_w

Page: 1
Go to End
Author Topic: 791 Views
  • KingBerT
    Community Member
    11 Posts

    many-to-many relation + attribute for relation Link to this post

    Hello guys,

    I wanted to know, if there is a way to save an attribute for a relation.

    More Specific:
    I want to display my own charts monthly. Therefore I've a DataObject Song, with Artist & Title. Now I want to select the top tracks out of the list monthly. This is possible with ManyManyComplexTableField, i know.

    But I want to save the position (#1 or #8, etc) of the Song too. Can Silverstripe do this for me? I hope you understand my problem...

    One Song could reach different positions each month.
    One Chart (one month) consists of 10 different Songs.

    so long BerT

Page: 1
Go to Top

Want to know more about the company that brought you SilverStripe? Then check out SilverStripe.com

Comments on this website? Please give feedback.