Steps:
1. create a normal view with shows node content and select display format as show content instead of fields and then in the settings form you can see view mode option ,display links as per latest head. There should be Display comments check box here. it doesn't show no matter what, because of wrong access check in code.

Below is the code in the plugin file: modules/node/views_plugin_row_node_view.inc

function options_form(&$form, &$form_state) {
    parent::options_form($form, $form_state);

    $options = $this->options_form_summary_options();
    $form['view_mode'] = array(
      '#type' => 'select',
      '#options' => $options,
      '#title' => t('View mode'),
      '#default_value' => $this->options['view_mode'],
     );
    $form['links'] = array(
      '#type' => 'checkbox',
      '#title' => t('Display links'),
      '#default_value' => $this->options['links'],
    );
    $form['comments'] = array(
      '#type' => 'checkbox',
      '#title' => t('Display comments'),
      '#default_value' => $this->options['comments'],
      '#access' => module_exists('comments'),
    );
  }

The last element has #access check for comments module, which actually should be "comment".

Comments

sumanthkumarc created an issue. See original summary.

sumanthkumarc’s picture

Status: Active » Needs review
FileSize
546 bytes

Adding patch.

sumanthkumarc’s picture

Oops, found another place with the same machine name error :( adding that too. This is final patch with changes in both places.