0

I have two different content types(A & B), and I want to be able to have a field in content type A that is a select list of all the nodes from content type B, and then I want to have a field in content type B that is a select list of all the nodes from content type A. Is there a way that I can have those two fields update each other?

Ex: in node 'Atest' from content type A in the select list field I select the 'Btest' node from content type B, and then if I edit 'Btest' in it's select list field I can see 'Atest' already selected. (showing that 'Atest' has it selected)

Is that possible? if so, what would be the beat way to go about setting that relationship up?

  • What do you mean by "update each other"? You want to change options on node edit page? Or you want to change content of actual nodes? – Mołot Jul 13 '15 at 20:23
  • I want to change the actual content of the nodes. I want to have a node reference select list in each content type that when edited in a node of one type will update the selected nodes' node reference select list in the other content type – Eluchel Jul 13 '15 at 20:31
2

You can try Corresponding node references.

I used this to sync up Events and Venues on one of my sites, and whenever I switch a venue for an event it automatically changes the node reference on the other node, so I only have to change the node reference once, instead of twice. Keeps things tidy, works with multiple.

  • 1
    As a note CER should be used since development has swapped over to there now. – burnsjeremy Jul 13 '15 at 22:09
  • Although I have yet to be able to get the CER module to with without errors – Eluchel Jul 14 '15 at 5:07

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.