Гледате помощното съдържание за версия:
- 6.4
- 6.3
- 6.2
- По-стари версии
This page provides the essentials of working with the comment system (comments component) and options for managing the user generated content (UGC) produced when members post comments or replies.
The comments component establishes a comment system such that each individual post is represented by a comment component (singular). It is the comment system which is included on the page. The comment system will create the individual comments when invoked.
resourceType | social/commons/components/hbs/comments |
includable | Yes - properties are editable in design mode |
Clientlibs | cq.ckeditor cq.social.hbs.comments cq.social.hbs.voting |
templates | /libs/social/commons/components/hbs/comments/comments.hbs |
CSS | /libs/social/commons/components/hbs/comments/clientlibs/commentsystem.css |
properties | see Using Comments |
The flagging reason list can be customized by adding flagreasonlist.hbs to your app to overwrite what is in
- /libs/social/commons/components/hbs/comments/comment/flagreasonlist.hbs
This applies to any component which extends a comment system.
UGC should be moderated using one of the standard methods for moderation.
See Moderating User Generated Content.
As of AEM 6.1 Communities, use of a common store for UGC includes programmatic access to UGC regardless of the chosen storage option (such as ASRP, MSRP or JSRP).
The location and format of the UGC in the repository is subject to change without warning.
See :
- Storage Resource Provider Overview - introduction and repository usage overview
- SRP and UGC Essentials - SRP utility methods and examples
- Accessing UGC with SRP - coding guidelines
- SocialUtils Refactoring - mapping deprecated utility methods to current SRP utility methods