You manage the comments and reviews in your website with the Comments and Reviews widgets. You use these widgets for enabling users to leave comments on pages.
In addition, you can associate the widgets with particular item, for example, news, blogs, and so on. To do so, you use the helper methods for associating Comments and Reviews widgets with an IDataItem.
Use the following helper method to include information how many comments are added by users and what is the average rating of an item:
In the code above:
The following table illustrates how the helper method works.
Use the following helper method to add comments or reviews that are associated with the particular IDataItem:
NOTE: Depending on whether you enabled user rating and comments for the item, Sitefinity CMS automatically detects whether reviews and comments should be displayed for this item.
For more information, see Administration: Administration: Enable comments and ratings.
Back To Top
To submit feedback, please update your cookie settings and allow the usage of Functional cookies.
Your feedback about this content is important
Copyright © 2022 Progress Software Corporation and/or its subsidiaries or affiliates.
All Rights Reserved.
Progress, Telerik, Ipswitch, and certain product names used herein are trademarks or registered trademarks of Progress Software Corporation and/or one of its subsidiaries or affiliates in the U.S. and/or other countries. See Trademarks for appropriate markings.
Powered by Progress Sitefinity