I'm looking for an action to sync two nodereference fields to mimic two-way relationships between nodes (a bit like discussed here: http://drupal.org/node/120408 and http://drupal.org/node/60756). The behaviour should be like:
- The two fields that are going to be synced should be configurable.
- For each one of the outgoing nodereferences on the source node do something like:
- Check the target node and find the matching field
- add the source node as nodereference in that field
- if removing nodereferences the action should remove the related references on any target node as well.
Does this sound sensible to have that as an action?
Comments
Comment #1
mfredrickson commentedTotally. I think it would be a great action.
So if you have an number field in Node 1 and Node 2, and I updated Node2's number field to 7, Node1's number field would also be 7.
Does this describe what you are talking about?
Comment #2
nickbn commentedYes! Someone please write this module!
I tried the rules method and couldn't get that to work.... Looking into others.