On my site I have two content types:
- event – with node flag “Attend” and Entity Reference field
- band
And flags:
- “Attend” – node flag - with Entity Reference field
- “Accept” – flagging flag – connected to “Attend” flag
Each user can create unlimited number of Bands (he is manager of each Band) and create unlimited number of Events.
On Event creation form I add Entity Reference field with list of user Bands. This way band which he choose will become an Event organizer.
And now: other Users can click on flag “Attend” in Event node. On next step they need to choose witch of their bands will participate in this event (entity reference field)
Quick example:
“User 1” create “Band A”, “Band B” and “Band C”
“User 2” – “Band D”
Events and attendance:
“Band D” is the organizer of the “Event A”. “Band A”, “Band B”, “Band C” want to attend.
“Band A” create “Event B”. Attend: “Band D”,
“Band D” create “Event C”. Attend: “Band B”, “Band C”
In views I create a private page with table of events of each user. I add all necessary relationships to show Events of each user with list of bands which use “Attend”. Please imagine it as a table:
Band A – 1 event:
- Event B
- Band D – “Accept flag”(flag link)
Band D – 2 events:
- Event A:
- Band A - “Accept flag”
- Band B - “Accept flag”
- Band C - “Accept flag”
- Event C:
- Band B - “Accept flag”
- Band C - “Accept flag”
User (author) creator of the event using flagging flag can decide which band he Accept for event.
Problem:
When Band D click “Accept” for Band B under Event A the status also change in Event C.
Do you think it is possible to separate this?
I hope I have described all process clear enough.
Thank you!