Closed (duplicate)
Project:
Views (for Drupal 7)
Version:
7.x-3.0-rc1
Component:
comment data
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
10 Oct 2011 at 18:04 UTC
Updated:
8 Nov 2011 at 17:38 UTC
I get this every time I select the "Display Comments" (Format>Show:Teaser>Display Comments)
1div id="comments" class="comment-wrapper">
Comments
Comment #1
dawehnerCan you provide a view export which shows how to easy reproduce the issue?
At least it would be helpful to understand exactly what you did.
Comment #2
peximo commentedHi, I have the same problem.
To reproduce:
1. create a view of nodes.
2. in format set "Show: Content | Full content"
3. in the format options select "Display comments"
By debugging I found that the problem is in node.tpl.php.
In hide($content['comments']);, $content['comments'] is not an array, is a string.
Then the function adds 1 to the string passed.
Comment #3
dawehnerSee #1194614: Comments do not render in a View of content.
Comment #4
toastytheog commentedI had this same issue going on, I realized it was because the content I was trying to add the comment attribute in the view, had comments defaulted to closed. Hope this helps.