Skip to main content

This site requires you to update your browser. Your browsing experience maybe affected by not having the most up to date version.

Archive /

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

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

many-to-many relation + attribute for relation


Reply


832 Views

Avatar
KingBerT

Community Member, 11 Posts

26 July 2008 at 10:40pm

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