I am currently encounter a problem, I have one content type (Type) and two taxonomy needed to be link up, in that content type, I need to apply a many to many relationship among a field (Name: Core) and two taxonomy Terms (Such like below image), I would like to ask is there any method to implement this idea?? enter image description here


You will have to use entity_reference.

  • Add a field "Core" to your content type of entity reference.
  • Then under "target type", choose "taxonomy term"
  • Under "entity selection" choose your vocabularies
  • On the next page set "Number of values" to "unlimited"

enter image description here

  • Thanks for your suggestion, I have already add two fields of term reference to store two taxonomy term, for the field "Core", It will be a boolean, what I mean is there any method to link up these two term reference fields and boolean field(Core) with m-m relationship?? Thanks
    – home1985
    Feb 25 '15 at 8:36
  • I think you will have to setup your content type like I suggested. I don't think you will be able to solve your problem with your current structure
    – Robin
    Feb 25 '15 at 8:48
  • Ok, let me know if this fixes your problem :).
    – Robin
    Feb 25 '15 at 10:07
  • I have updated it, I create a entity reference field (Name : Core) to link up two taxonomy, but I still very confuse on the next step, may be I tell you the whole situation on next answer
    – home1985
    Feb 26 '15 at 3:22

This is the original idea (not yea update by the entity reference)

I have one content type call Title, in this content type, there will be a field name "Core (boolean type), and there are two taxonomy term name Subject and Type, these three will be a M to M relationship, the problem is not all the selected Subject/Type can be "Core" item (e.g You can select Subject A,B,C and Type H,L, but you can set only Subject A and Type H to be Core), so I still no idea how to get next even I set the Core to entity reference and link to two taxonomy term, do you have any idea on this?? Many Thanks

enter image description here

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.