Hi, Im using uBlogsy_Webforms_3.0_Beta for my blog. It works fine. I want to show the total comments for each post on landing page as other blogs normaly do. Its already there on the post page but I want to show that on landing page where it lists all the posts.
show total comments on landing page
Hi, Im using uBlogsy_Webforms_3.0_Beta for my blog. It works fine. I want to show the total comments for each post on landing page as other blogs normaly do. Its already there on the post page but I want to show that on landing page where it lists all the posts.
Take a look at the script for the rendering the post. You should be able to just copy and paste the code which gets the comments.
I tried copying the following code from uCommentsyListComments.cshtml but It doesnt
<h4> @comments.Count() @uHelpsyUmbracoHelper.Instance.GetDictionaryValue("uCommentsyDicComments") :</h4>
You're missing the line that gets the comments
var comments = CommentService.Instance.GetComments(IPublishedContentHelper.GetNode((int)Model.Id), false).Take(count).ToIPublishedContent(true);
Giving ''Error loading MacroEngine script (file: )" error when I'm trying to copy paste it inside the "uBlogsyLandingShowPost.cshtml"
This forum is probably the wrong place for the issues you're having. You're better off hiring a freelancer who can do the c# for you.
is working on a reply...