This works perfectly it provides me with a list of ID's with the same tags as the current page. I can still use this method but I would like to know the new way :).
I've seen the new TagQuery helper but can't see the equivalent method.
I am going to post this here... but also try to put it in the wiki or docs or wherever...
here is a code snippet using the tagservice.
var tagsFromService = UmbracoContext.Application.Services.TagService.GetAllContentTags("tagGroup");
@foreach(var tag in tagsFromService) {
@tag.Text(@tag.NodeCount)
}
Hello, I just came across this post while searching for a different thread but I have just started a documentation page for Tags here, would love loads more examples using the TagService....
TagService Umbraco 7
Hi,
I've been stuck for a bit now trying to find the new alternative for:
This works perfectly it provides me with a list of ID's with the same tags as the current page. I can still use this method but I would like to know the new way :).
I've seen the new TagQuery helper but can't see the equivalent method.
Thanks,
Kyle
Not sure if anyone else had this problem but it seems to be there in 7.1.4
Kyle
I am going to post this here... but also try to put it in the wiki or docs or wherever...
here is a code snippet using the tagservice.
Hello, I just came across this post while searching for a different thread but I have just started a documentation page for Tags here, would love loads more examples using the TagService....
Jeavon
What about efficient paging?
This just gets everything... What if you have 10K+ of content with a specific tag.
Paging is something like this:
is working on a reply...