This project is read-only.

Taxonomies - select all post with a same term as in current post

Topics: Customizing Orchard, General, Writing themes
Apr 13, 2013 at 6:42 PM
Good evening.
For my site I use module Taxonomies.
I had a problem at the end of each post to display a list of related posts.
For this I want to use the module projection and write a query that selects all the posts with the same term as the current Term post.
Please tell me how to select the current Term in the post. I appeal to the field with taxonomies and try to select the first term (there may be more than one) - but it doesn`t work.
Content.Fields.BlogPost.CategoryTree.Terms.Value [0]. Id
CategoryTree - name of taxonomy field.
I am not sure about Value [0] - how can I appeal to enumerable value ?
May be there is another way to do it. Thanks in advance.
Dec 5, 2013 at 6:17 AM
Hi Alexey,
Did you already find your answer? I want to do that exact same thing.