I am using advanced forums and I would like my site admins to be able to edit and delete forum comments.

The correct permissions are checked and the site admins can edit and delete comments by going into content->comments.

However, I would like to have a button on the comment that allows the admins to directly edit the comment.

Current these buttons exist for the original topic post, but not the corresponding comments.

For example, the admins have these options on a topic post.

enter image description here

However, on a comment the admins only have these options.

enter image description here

2 Answers 2


You can install Quick Edit module which allows content to be edited in-place.


You can create a custom comment.tpl.php in your theme directory and insert any link in there for any user. for example create link <a href='www.example.com/commend/[comment_id]/edit'>edit</a>

Notice that the comment id is available via hook_preprocess_comment(). you can set this ID in a variable and use it in the comment.tpl.php

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.