1-888-365-2779
+1-888-365-2779
Try Now
More in this section

Forums / Developing with Sitefinity / how the heck do you enable comments?

how the heck do you enable comments?

2 posts, 0 answered
  1. SelAromDotNet
    SelAromDotNet avatar
    912 posts
    Registered:
    18 Jul 2012
    05 Jun 2008
    Link to this post
    sorry for what seems to me such an obvious question, but I cannot for the life of me figure out how to to enable comments on the various items. I have added a library with images, and setup a gallery, and I want people to be able to add comments to the items. I enabled comments and moderation, but when the images are viewed, there is no comment list. I can't see the comment list in the control toolbox either, so can you please point me to what I am clearly missing here?

    thanks!
  2. Pepi
    Pepi avatar
    981 posts
    Registered:
    31 Jan 2017
    06 Jun 2008
    Link to this post
    Hello Josh,

    To enable comments on ImageGallery, you need to add CommentsList control to the ~/Sitefinity/ControlTemplates/Libraries/GalleryListViewItemTemplate.ascx template. For your convenience I have attached a modified version of the template. You just need to replace your template with the one from the attachment.

    Hope this helps.

    Best wishes,
    Pepi
    the Telerik team

    Instantly find answers to your questions at the new Telerik Support Center
2 posts, 0 answered