Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • roshan 3 posts 23 karma points
    Jul 18, 2013 @ 07:52
    roshan
    0

    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.

  • Anthony Dang 1404 posts 2558 karma points MVP 3x c-trib
    Jul 23, 2013 @ 12:22
    Anthony Dang
    0

    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.

     

  • roshan 3 posts 23 karma points
    Jul 24, 2013 @ 06:47
    roshan
    0

    I tried copying the following code from uCommentsyListComments.cshtml but It doesnt

     <h4> @comments.Count() @uHelpsyUmbracoHelper.Instance.GetDictionaryValue("uCommentsyDicComments") :</h4>

  • Anthony Dang 1404 posts 2558 karma points MVP 3x c-trib
    Jul 25, 2013 @ 18:15
    Anthony Dang
    0

    You're missing the line that gets the comments

    var comments = CommentService.Instance.GetComments(IPublishedContentHelper.GetNode((int)Model.Id), false).Take(count).ToIPublishedContent(true);

  • roshan 3 posts 23 karma points
    Jul 29, 2013 @ 11:16
    roshan
    0

    Giving ''Error loading MacroEngine script (file: )" error when I'm trying to copy paste it inside the "uBlogsyLandingShowPost.cshtml"

  • Anthony Dang 1404 posts 2558 karma points MVP 3x c-trib
    Aug 27, 2013 @ 12:54
    Anthony Dang
    0

    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.

     

Please Sign in or register to post replies

Write your reply to:

Draft