How to pull in child data in a custom view?

Topics: Customizing Orchard, Writing themes
May 1, 2014 at 3:25 PM
Edited May 1, 2014 at 3:28 PM
I'm stuck on something that I think is probably easy.

I have a couple custom content types, call them MyPage and Resource. Each have a taxonomy field on them, MyTerm, which is required and only takes one value. Then the MyTerm type has a taxonomy field on it called Synonyms which takes multiple terms. What I want to do is take a user inputed string, match it to any Synonyms that fit and then spit out a link to the parent MyPage or Resource content type. So a result that looks something like this:

<a href="MyPageOrResourceRoute">Synonym Term (MyPage or Resource Name)</a>
With a projection using the default summary display I get something closer to this:
<a href="synonymRoute">Synonym Term</a>
<div><a href="MyTermRoute">MyTerm Term</a></div>
<div>(MyPage or Resource Content Displays)</div>
Is there a way to build out a custom view to get to where I want?
May 1, 2014 at 9:24 PM
(crickets chirping)
May 5, 2014 at 4:18 PM