More in this section
Forums / Project Feather / Blog Post View Comment Layout

Blog Post View Comment Layout

The forums are in read-only mode. In case that you want to directly contact the Progress Sitefinity team use the support center. In our Google Plus group you can find more than one thousand Sitefinity developers discussing different topics. For the Stack Overflow threads don’t forget to use the “Sitefinity” tag.
7 posts, 0 answered
  1. John
    John avatar
    61 posts
    Registered:
    08 Jun 2012
    22 Jul 2016
    Link to this post

    Hello,

    We would like to customize the MVC view template for working with comments in a  Blog Post detail view. We were able to add a custom Blog Post detail view and customize it's layout, but it simply calls Html.CommentsList to render comments. I don't see any options anywhere to specify a view to use when rendering comments.

    As far as I can tell, all comments use the same template, regardless of the content time the comments are for. I don't see any way to add a custom MVC view template for a Blog Post comment. 

    I hope I'm missing something simple - Is there a way to do this?

    Thank you.

  2. Victor Leontyev
    Victor Leontyev avatar
    65 posts
    Registered:
    01 Jul 2014
    22 Jul 2016 in reply to John
    Link to this post

    Template for Blog Post comments is the same as Comments widget.

    To change it, just create/change template inside this folder {YOUR RESOURCE PACKAGE}\MVC\Views\Comments\Comments.Default.cshtml

     

  3. John
    John avatar
    61 posts
    Registered:
    08 Jun 2012
    22 Jul 2016 in reply to Victor Leontyev
    Link to this post

    Thank you, Victor. Does this mean that overriding the comments view is a universal change that affects how all comments appear, regardless of the content type (e.g. News comments, Blog comments, Page comments, etc)?

     

  4. Victor Leontyev
    Victor Leontyev avatar
    65 posts
    Registered:
    01 Jul 2014
    22 Jul 2016 in reply to John
    Link to this post
    Yes. It will override everywhere
  5. Kevin
    Kevin avatar
    0 posts
    Registered:
    02 May 2017
    02 May 2017
    Link to this post
    Layout of blog comments is very important. I have a site and need a good blog comments layout
    Here is my site link
    iPhone Screen Repair
    https://www.mobilerepairs4u.co.uk/iphone-screen-repair-london-uk/
  6. MobilePhones
    MobilePhones avatar
    0 posts
    Registered:
    31 Jul 2017
    31 Jul 2017
    Link to this post
    Great tips!!
    Thank You for sharing..
    We provide fastest and most professional Mobile Repair Services at Affordable Prices. https://www.mobilephonesrepairs.co.uk/
  7. ome
    ome avatar
    0 posts
    Registered:
    08 Oct 2017
    08 Oct 2017
    Link to this post
    Addiction is a series of solitaire games having different layouts of cards  from two to king this one is also termed as patience game addiction is maintain the combination of cards and players
7 posts, 0 answered