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've moved the forum!

Please use forum.silverstripe.org for any new questions (announcement).
The forum archive will stick around, but will be read only.

You can also use our Slack channel or StackOverflow to ask for help.
Check out our community overview for more options to contribute.

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


1392 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