Skip Navigation

[Resolved] many to many relationships and repeating field groups

This support ticket is created 6 years, 2 months ago. There's a good chance that you are reading advice that it now obsolete.

This is the technical support forum for Toolset - a suite of plugins for developing WordPress sites without writing PHP.

Everyone can read this forum, but only Toolset clients can post in it. Toolset support works 6 days per week, 19 hours per day.

This topic contains 1 reply, has 1 voice.

Last updated by sarahK-2 6 years, 2 months ago.

Author
Posts
#1152224

Songs/albums is a many-to-many relationship. If I have this relationship set up, with a field group assigned to the relationship (song length, track number, song style) is there any way to have the SAME song appear twice (or more) on a single album?

For example, a single song has a radio version and an instrumental version. But, it is still the same song (or at least I would like it to be considered as such). I tried using a repeating field group to contain the fields assigned to the relationship, so that I could refer to each instance. But repeating field groups are not allowed there.

Originally, I had a third post type "appearances" that related to both songs and albums. But this made entering data more complicated, and also writing views more complicated. Is there any way to avoid this?

How would you solve this problem?

Thanks in advance!

#1152603

My issue is resolved now. Thank you!