You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/comment/form.md
+6-6Lines changed: 6 additions & 6 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -74,7 +74,7 @@ This is a **required** parameter if you are using comment previews indicating wh
74
74
75
75
You can hard code the comment for tag to display a comment form for a specific channel entry by its URL title.
76
76
77
-
NOTE: **Note:** This parameter takes precedence over any entry specified dynamically in the URL, so when using this parameter you will want to make sure it is clear to the user which entry the displayed comment form belong to.
77
+
NOTE: **Note:** This parameter takes precedence over any entry specified dynamically in the URL, so when using this parameter you will want to make sure it is clear to the user which entry the displayed comment form belongs to.
78
78
79
79
#### `channel=`
80
80
@@ -174,7 +174,7 @@ The following conditionals are available:
174
174
175
175
## Allowing Members to Edit Comments on the Front End
176
176
177
-
The available tags and variables allow you to write your own clientside code for implementing comment editing. The following is a simplified example using jQuery.
177
+
The available tags and variables allow you to write your own client-side code for implementing comment editing. The following is a simplified example using jQuery.
178
178
179
179
### Example Code
180
180
@@ -227,13 +227,13 @@ A request for an edit will return a response array. In the case of an error, an
227
227
228
228
### Editing Permissions
229
229
230
-
The {if editable} conditional in the Comment Entries tag outputs content when the viewing member has permission to edit the comment indicated while the {if can_moderate_comment} outputs content if they have permission to close the comment.
230
+
By using the [{if editable}](/comment/entries.html#if-editable) conditional in the Comment Entries tag, you can output a link, instructions or a form if the viewing member has permission to edit the comment, and by using the {if can_moderate_comment} you can display whatever is appropriate if the viewing member has permission to moderate (close) the comment.
231
231
232
-
For regular members, in order to edit comments they must be a logged in member, the author of the comment, and the editing time limit must not have expired.
232
+
For default regular members, in order to edit a comment, they must be logged in, the author of the comment, and the editing time limit must not have expired. If a member has a role with permission to edit the comments of any entry, that member will have edit permissions regardless of the editing time limit.
233
233
234
-
Comment moderators may close the comment. Superadmins will always have {editable} and {can_moderate_comment} permissions on any comment.
234
+
Comment moderators may close the comment. The edit time limit does not apply to moderators.
235
235
236
-
Lastly, if a member is in a group with permission to edit comments in any entry, they will have edit permissions. The edit time limit does not apply to moderators.
236
+
Superadmins will always have {editable} and {can_moderate_comment} permissions on any comment.
0 commit comments