showing tag related blogs
I am using a blog control so that a user can click through on a list of blog entries to see an individual blog entry. All blog posts are tagged. On a single blog detail page I would like to display a second control that relates blog items which are related through tag to the single blog item displayed on that page. I am not sure how to achieve this?
Hi Martin,
You could create a new widget which shows blog posts based on the tags of the current blogpost.
So, assuming you know how to create a new widget, you can start with getting the current blogpost from the url. Based on this blogpost you can get the categories or tags from this blogpost.
When you have these values (TrackedList<Guid>) you can use them to get blogposts with help of the API, and filter them based on the tags you received from the current blogpost.
I can prepare an example for you, if that is helpful.
This is how I would do this.
Regards,
Daniel
Hi daniel,
Thank you for your reply, I would be most grateful if you could show an example .