I’ve followed the directions on this page: http://ellislab.com/expressionengine/user-guide/modules/comment/index.html#allowing-members-to-edit-comments-on-the-front-end to allow my members to edit comments in their own entries, but it’s unclear to me exactly from the docs which order the code examples should go in.
Right now I have a single entry page with the two scripts (jquery script tag, and comment_edit_script tag) in the head, then the entry itself, then the comment entries tag listing all the comments. Inside the comment entries tag under each comment is the following code from the docs, but it doesn’t display anything, even for the super admin:
{if editable}
<a href="#" class="edit_link">Edit</a>
<div class="editCommentBox">
<textarea cols="70" rows="8">{comment_stripped}</textarea><br >
<input type="submit" name="cancel" value="Cancel" class="cancel_edit">
<input type="submit" name="save" value="Save" class="submit_edit">
</div>
{/if}
{if can_moderate_comment}
<a href="#" class="mod_link">Close</a>
{/if}I’ve set the Member group permissions to allow them to view, edit, and delete comments in their own channel entries. I’m not sure what other settings to allow here. Any ideas why this isn’t showing? Am I missing some component or maybe have the scripts in the wrong place? The docs just aren’t clear enough.
Thank you!