Module Builder Item Count?
I would like to display the number of items in a blog or custom module (module builder) without using javascript or displaying the items themselves. This seems like a simple task to only pull the total number of items, entries, listings, etc. Is there a simple way to achieve this?
Telerik's forum is a good example (Attached screenshot).
Thanks
Hi Nate,
In that case you do not need the Blogs widget but a Label and set its value from code behind by query the blogs count like::
var blogPostsCount = Telerik.Sitefinity.Modules.Blogs.BlogsManager.GetManager().GetBlogPosts().Where(b => b.Status == Telerik.Sitefinity.GenericContent.Model.ContentLifecycleStatus.Live).Count();