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.

We're retiring the forums!

The SilverStripe forums have passed their heyday. They'll stick around, but will be read only. We'd encourage you to get involved in the community via the following channels instead:

Archive /

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

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

many-to-many relation + attribute for relation


Go to End


1114 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