Using CommentsPlugin
You must be logged in to post a comment.Comments
Description
CommentsPlugin renders all comments left on the current page, followed by a form that lets logged-in users post new ones. Administrators see a delete button on each comment.
Comments are disabled when the CommentManager is not enabled in site configuration. The plugin renders nothing (empty string) in that case.
The plugin is automatically included in the default Template:PageTabs configuration in the Comments tab.
Syntax
[{CommentsPlugin}]
[{CommentsPlugin noheader='true'}]
Parameters
| Parameter | Type | Default | Description |
|---|---|---|---|
noheader | boolean | false | Suppress the "Comments" heading. Pass true when embedding inside a tab (e.g. Template:PageTabs). |
Examples
[{CommentsPlugin}] renders as:
No comments yet. You must be logged in to post a comment.Comments
Notes
- Only authenticated users can submit comments. The submission form is hidden for guests.
- Administrators see a delete link on each comment.
- The plugin returns an empty string if the CommentManager is not enabled (
ngdpbase.comments.enabled=false). - Comment timestamps are displayed in the server's local timezone.
No comments yet.