<p>I'm working on a sign language dictionary project. Each individual sign (or word) is an entry. </p>

<p>I want to be able to have an area that shows words that are similar to the word that is being currently viewed. I'm looking for a way to create reciprocal relationships between word entries to show these similar words. </p>

<p>For example, I want to say that word A is related to word B. Then I'd like for word B to also be automatically related to word A without having to go into word B and manually create the relationship.</p>

<p>Is there any way to make this kind of reciprocal relationship in craft? Thanks for any ideas.</p>

CC BY-SA 3.0
2015-07-03T21:01:09.607Z
Something like this what you're looking for? https://github.com/iainurquhart/craft_introvert
Brad Bell
CC BY-SA 3.0
2015-07-03T22:19:22.377Z
This is close, but not exactly what I am hoping for. However, this may be a possible work around. I've also looked at this plugin: [Reverse Relations](https://straightupcraft.com/craft-plugins/reverse-relations). At the most basic level, what I'm looking for is that if I create a relationship between A & B, then an inverse relationship between B & A is also automatically generated.
Justin K
CC BY-SA 3.0
2015-07-04T00:19:20.790Z
Should be doable programmatically just from listening to the `onSaveEntry` event then analyzing the fields, etc.
Brad Bell
CC BY-SA 3.0
2015-07-04T08:20:17.817Z
You're suggesting developing a custom plugin, right?
Justin K
CC BY-SA 3.0
2015-07-04T13:53:27.793Z
Yeah, I can't think of anyway to pull it off natively.
Brad Bell
<entries><relations>
Is there any way to create reciprocal related entries?
# Is there any way to create reciprocal related entries?

(Asked by: username_0 on 2015-07-03)

I'm working on a sign language dictionary project. Each individual sign (or word) is an entry.

I want to be able to have an area that shows words that are similar to the word that is being currently viewed. I'm looking for a way to create reciprocal relationships between word entries to show these similar words.

For example, I want to say that word A is related to word B. Then I'd like for word B to also be automatically related to word A without having to go into word B and manually create the relationship.

Is there any way to make this kind of reciprocal relationship in craft? Thanks for any ideas.

**Tags:** entries, relations

> **Comments:**
> **username_1**: Something like this what you're looking for? https://github.com/iainurquhart/craft_introvert  
> **username_0**: This is close, but not exactly what I am hoping for. However, this may be a possible work around. I've also looked at this plugin: [Reverse Relations](https://straightupcraft.com/craft-plugins/reverse-relations). At the most basic level, what I'm looking for is that if I create a relationship between A & B, then an inverse relationship between B & A is also automatically generated.  
> **username_1**: Should be doable programmatically just from listening to the `onSaveEntry` event then analyzing the fields, etc.  
> **username_0**: You're suggesting developing a custom plugin, right?  
> **username_1**: Yeah, I can't think of anyway to pull it off natively.  

---

## 0 answers

