You can manage the comments in your website with the built-in CommentsWidget and CommentsCountControl.
PREREQUISITES: To use the CommentsWidget and CommentsCountControl widgets, in your template you must add the following reference: <%@ Register Assembly="Telerik.Sitefinity" Namespace="Telerik.Sitefinity.Modules.Comments.Web.UI.Frontend" TagPrefix="comments" %>
By setting the ThreadKey, you ensure that for every translation the CommentsWidget is associated with different threads. This way you can have different comments for the different translations of your items.
If you do not set the GroupKey and the ThreadType properties your CommentsWidget is automatically associated with the current page. Sitefinity CMS creates a new thread for this CommentsWidget when the first comment is submitted. In this case, if you drop two CommentsWidget on the same page they display the same comments.
NOTE: If you want to have two different items with the same list of comments, you can set the ThreadType and GroupKey for both CommentsWidgets to the same values.
Sitefinity CMS has a separate widget that displays the count of the comments associated with particular thread.
The example below displays how to add the CommentsCountControl in News template. It has the following properties:
Use the following template example:
Increase your Sitefinity skills by signing up for our free trainings. Get Sitefinity-certified at Progress Education Community to boost your credentials.
This free lesson teaches administrators, marketers, and other business professionals how to use the Integration hub service to create automated workflows between Sitefinity and other business systems.
This free lesson teaches administrators the basics about protecting yor Sitefinity instance and its sites from external threats. Configure HTTPS, SSL, allow lists for trusted sites, and cookie security, among others.
The free on-demand video course teaches developers how to use Sitefinity .NET Core and leverage its decoupled architecture and new way of coding against the platform.
To submit feedback, please update your cookie settings and allow the usage of Functional cookies.
Your feedback about this content is important