Press Ctrl / CMD + C to copy this to your clipboard.
This post will be reported to the moderators as potential spam to be looked at
Hi, I have property tags on my articles, I need to allow user to search in articles by tags, how is this possible ?
IEnumerable<IPublishedContent> items = Umbraco.TagQuery.GetContentByTag(searchWord); foreach (IPublishedContent item in items) { <li>@item.Name</li> }
This code get items by Tag from whole site + it only works when searchWord fully match tag name. So this solution is not working for me.
searchWord
is working on a reply...
Write your reply to:
Upload image
Image will be uploaded when post is submitted
How search in articles by Tags
Hi, I have property tags on my articles, I need to allow user to search in articles by tags, how is this possible ?
This code get items by Tag from whole site + it only works when
searchWord
fully match tag name. So this solution is not working for me.is working on a reply...