To enable Comments in your knowledge base:
- Go to Settings > Comments.
- Select the checkbox next to Enable comments to "Allow people to comment on articles."
- Restrict commenters sets who can physically comment on your knowledge base; restrict visibility sets who can see those comments. See Comment restrictions and permissions for more detail on each option.
- By default, all comments are set to require approval before they'll be displayed. If you'd prefer all comments be automatically approved (and displayed) as soon as they've been submitted, check the box next to Auto Approve.
- Comments are automatically shown in the Comments reporting dashboard. If you'd also like to send email notifications to particular address(es) when comments are submitted, check the box next to Email Notifications and add the email addresses you'd like to send to in the Email Recipients list.
- You can also choose to adjust the Email Reply To and Email From fields so that they aren't coming from Knowledge Support (email@example.com).
- Email notifications of new comments will default to an Email Frequency of Every new comment. You can also opt for Hourly, Daily, and Weekly digests.
- Optional: You can customize all the text shown in the Comments section, including:
- The comment box Placeholder
- The Change user icon option
- The Submit button label
- The Submit feedback text shown after someone has clicked the submit button
- Click Save.
Now that you've enabled comments, you'll need to add them to your knowledge base. While you can add them anywhere, we recommend adding them either into the Article footer or the Right Column (if you're using it).
To add to the footer:
- Go to Settings > Style.
- Below the preview window, click on Custom HTML and select Article from the dropdown.
- Click the Select a Merge Code dropdown, find the Widget Merge Codes section, and select Articles Comments.
- Click to put your cursor where you want to add the comments section (in the hg-article-footer is a great place!) and click the Insert button to add the merge code. (You can always move the merge code around in the HTML to get it exactly where you want.)
- Click Save.
- Your comments section is now live!
Pro Tip: Adding comments into the right column is a similar process, but you may want to create a separate right-col-panel div to add it into--it depends on how your right column is laid out!