Can't add comments with views

Created on 4 July 2015, about 10 years ago
Updated 6 August 2025, 10 days ago

Hello,

I'm trying to make ajax comments working with a list of comments managed by a view.

I can delete, edit and reply to comments, but when I click on the "add comment" button, it disappear and the add comment form doesn't appears.

I use display suite to manage the display of my comment (standard 1 column layout), and I created a view to list my comments.

I think it's related to the view because if I display the standards drupal comments, even using display suite, it works. It stop working when I put my view in place of the standard drupal comment system.

🐛 Bug report
Status

Active

Version

1.0

Component

Code

Created by

🇫🇷France zmove

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

  • The reason your "add comment" button disappears is that your custom View is only displaying the list of comments and is not configured to render the comment form itself, which the standard Drupal system does automatically. To fix this, you need to MyMilestoneCard Login add the comment form back into your View. The easiest way to do this is by editing your View, navigating to the Footer section, and adding the Global: Rendered Entity - Node field. This will embed the node's full content at the bottom of your comment list, including the "add comment" form, and will re-establish the AJAX functionality.

Production build 0.71.5 2024