I'm trying to implement a Project Member relationship but I don't know how to do that. I have as a content types: Project, Member and Position as the attached UML diagram shows. My doubts are about the team field in Project.

uml diagram of database structure

I need to relate team members with a certain positon (which can be different from default position) to the Project. One way would be to create another content type called ProjectMember, but I'm trying to avoid that.

What would be the fastest vs the most elegant way to implement that?

Is Field Collection module a suitable way to go?

  • I am glad that my answer was useful for you, good luck in your projects – Adrian Cid Almaguer Jul 8 '16 at 17:37

This is one way:

  • Project (Content Type)
  • Member (Content Type)
  • Position (Taxonomy - Because maybe you want to classify)

In Member you will have a field that is a Term Reference to Position.

In Project you will have a Field Collection named Project Position, which will have an Entity Reference to Member and a field that is a Term Reference to Position.

| improve this answer | |
  • 1
    What exactly do you mean by "Project Position (The Collection)"? I'm confused ... – Pierre.Vriens Jul 22 '16 at 17:24
  • 1
    @Pierre.Vriens Project Position is the Field Colecction field, I edited the answer. If you need more info, please let me know. – Adrian Cid Almaguer Jul 22 '16 at 17:39
  • Paragraphs seems to replace Field Collection module. How could I implement your solution using Paragraphs? – geraldo Feb 7 '17 at 16:53
  • @geraldo is a little different because you need to know how paragraph works, you can check some articles and made the same steps with paragraph. evolvingweb.ca/blog/… webwash.net/… – Adrian Cid Almaguer Feb 7 '17 at 17:15

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.