How do I set up the comments to display in the nodes for a particular content type. I already have comments enabled, but the comments aren't showing up under the list in Full Node when Display Suite is enabled.

I also tried using the comments as block, and creating a block of comments in the node display and using that block to display comments ... but that isn't working either. Can someone help? Thank you.

Comments

Stalski’s picture

Status: Active » Postponed (maintainer needs more info)

Are you on a node detail page content type X while X configured to show comments under the node? This i cannot reproduce.
or are you viewing a list of nodes of X in full build mode where you want the comments under each node? This would be normal and behave as designed.

afais it seems to work just fine here, unless i misinterpretted the problem.

denes.szabo’s picture

It seems I have same issue: in the blogpost node type I enabled the comments set the comments above the node.

DS (?) renders the comments below the nd regions, but not in a region. I have no comments field on the blogpost node type's ds page.

So I cannot set the comments - and the comments form to the left region. These are out of the ds regions.

swentel’s picture

Status: Postponed (maintainer needs more info) » Closed (works as designed)

You can't put the default comments in one of the regions.

cancel.allow’s picture

Issue tags: +comments, +tab, +regions, +display suite

It's possible!

1. Create new field in Node displays.
Type: Code field
Field code:

<?php $comments = comment_render($object); print $comments;
$comment_form = drupal_get_form('comment_form',array('nid' => $object->nid));
print $comment_form; ?>

Save & place it on your layout.

2. Download and install module "Comment Display", it prevents rendering comments in node.

P.S. I think it possible to prevent rendering without module Comment Display but unfortunatly i'm not the code-ninja.

dennis cohn’s picture

Version: 6.x-1.3 » 7.x-1.4

Is it possible with Drupal7?

swentel’s picture

Of course, just drag the 'Comments' field in the area you want to display.

dennis cohn’s picture

But I want to display the comments into an other region.
For example: sidebar.

Is that possible?
I tried it with 'region to block', but no comments are loading in the sidebar.
Anything else is working perfectly.

swentel’s picture

Status: Closed (works as designed) » Active

Hmm, that's currently not possible because preprocess fields are detected at a later stadium. Crap, never tested that :)
Should be an easy fix I think, will try to come up with a patch this evening.

dennis cohn’s picture

Hmmmz If you can test it, that would be great!
Have tried a lot of things to get this working, but without succes.

swentel’s picture

Title: How to set up comments in display suite to show up on node pages » Preprocess fields
Status: Active » Closed (fixed)

Did a quick test, doesn't work. I opened a new issues for this at #1334128: Preprocess fields don't work with region to block regions

swentel’s picture

Title: Preprocess fields » How to set up comments in display suite to show up on node pages

Original title

Jaggr’s picture

Issue summary: View changes

Of course, just drag the 'Comments' field in the area you want to display.

Comments field is only available on Default display, not for any of the custom displays. Why?

goldlilys’s picture

Woah, haven't checked this post in over 4 years. Wondering if this is fixed with the custom displays for Display Suite or cannot be done? Comments should be available so we can place them anywhere on the page using Display Suite.

discipolo’s picture

Version: 7.x-1.4 » 7.x-2.x-dev
Status: Closed (fixed) » Active

comments dont seem to be available on custom view modes only on default

AndersEkman’s picture

Status: Active » Closed (fixed)

I'm having the same problem - no comments except for full node. This seems to be because the comments module hardcoded them to the full node view mode. For a discussion on workarounds, see this issue. I think any further discussion on the topics should be taken there, so I am closing this issue again.