My understanding is that by selecting "Display node comments" in the "Row style options", the view will display the comments associated with each node. When I select this option however, no comments are displayed. When I view the html source of the view I see that <div id="comments"></div> </div>is printed under each node, but no comment information is being printed. I tried this on a clean install with the same results.

I am using the following settings:
Node View type
Style: Unformatted
Row style: Node
Row style options: Display node comments

SQL Query:

SELECT node.nid AS nid FROM node node 

Exported View:

<?php
$view = new view;
$view->name = 'node_plus_comments';
$view->description = 'Lists nodes plus their comments';
$view->tag = '';
$view->view_php = '';
$view->base_table = 'node';
$view->is_cacheable = FALSE;
$view->api_version = 2;
$view->disabled = FALSE; /* Edit this to true to make a default view disabled initially */
$handler = $view->new_display('default', 'Defaults', 'default');
$handler->override_option('access', array(
  'type' => 'none',
));
$handler->override_option('row_plugin', 'node');
$handler->override_option('row_options', array(
  'teaser' => 0,
  'links' => 0,
  'comments' => 1,
));
$handler = $view->new_display('page', 'Page', 'page_1');
$handler->override_option('path', 'nc');
$handler->override_option('menu', array(
  'type' => 'none',
  'title' => '',
  'weight' => 0,
  'name' => 'navigation',
));
$handler->override_option('tab_options', array(
  'type' => 'none',
  'title' => '',
  'weight' => 0,
));
?>

Comments

jcruz’s picture

Category: support » bug
merlinofchaos’s picture

Status: Active » Fixed

This is now fixed in CVS.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for two weeks with no activity.

Jonasvh’s picture

subscribe