1

Is it possible to display a node in a view and allow users to add comments to the node?

I have not been able to find a way to do this.

1

Yes, you can show node in view and also allow users to add comment. See example below:

  1. Create a view normally.
  2. Under Format section, change Show settings to Content
  3. Select the view mode as Full Content and enable Display Comments. (Check screenshot below)
  4. Click on Apply

View Settings

View : Row Style settings

2
  • Any idea why I don't have the "Display comments" option?
    – Tritof
    Apr 7 '17 at 14:38
  • Check if you've comment module installed, if yes, also check if you've comments enabled for that content type
    – Yogesh
    Apr 7 '17 at 15:44
0

You would need a contrib module to get this functionality, it's called AJAX Comments

After installing it you will have new views fields available (screenshot), that will:

a) Allow you to add comments
b) Allow you to display the existing comments

An important point is that following for this issue, AJAX Comments integration with Views adds auto-refresh support in order to display the newly added comments.

0

If you wants to add comment form to a view

Refer add comment form in views @No Sssweat describe it very nicely.

You need to add a global php field and render the comment form.

And display one node you can add filter conditions.

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.