Closed (works as designed)
Project:
Views (for Drupal 7)
Version:
7.x-3.0-rc1
Component:
comment data
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
24 Jul 2011 at 05:25 UTC
Updated:
5 Jul 2012 at 01:45 UTC
Jump to comment: Most recent file
Comments
Comment #1
dawehnerIf you report an issue always try to help people to fix the issue.
Therefore for example provide a reusable export of a view.
As you read http://drupal.org/node/571990 (you really should have) this information is required.
Comment #2
W.M. commentedHere is a text file containing the exported data (zipped).
The problem is that the "Add new comment" always shows the linked text "Add new comments" instead of showing the number of comments if the node already has some comments posted and published.
Comment #3
merlinofchaos commented1) Views does not contain a field called "Add new comment". grep shows that string does not appear within Views at all. Precisely what field are you referring to?
2) Please do not zip exports. If you simply attach the text file, I can click on it and read it. If you zip it, I have to download it, then unzip it. That is not a good use of my time.
Comment #4
W.M. commentedI am referring to this field:
Page view in Views for Drupal 7 -> Fields -> Add new -> Field name: Content: Add comment link.
This field has an option (under "More") named: Show teaser-style link.
Checking this option should make the field provide either the number of comments in post or "Add new comment" if there is no comments already posted.
Worked fine in Drupal 6.
Here is an export of the view (text file format).
Comment #14
esmerel commentedComment #15
dawehnerIs the "add new comment" link shown for you on the default node listing provided by drupal core?
If no, views can't do anything here because it just uses the links provided with drupal.
Comment #16
W.M. commentedIn Drupal's default teaser listing I can see two links:
a. Comment count as a link to the comments (if some posted already)
b. "Add new comment" text linked to comment form
In Views 2.x (Drupal 6) there was only one linked text: either a or b. The same link changed dependent on whether the node already had some posted comments or not.
I hope this clarifies the issue.
Comment #18
mototribe commented+1
Comment #20
dawehnerMh well it's kind of a problem as views just uses the links provided by the comment module so there is no real reason why it shouldn't work as it's designed.
This count-links only appears if you have configured to be a teaser.
Comment #22
esmerel commentedComment #23
Starminder commentedAm also having this issue:
With the same user, some blogs display the comment count in the teaser, some do not.
Not sure what else to do - Some blogs, despite having comments, do not display the comment count in the teaser. Just looking for ideas...
Comment #24
Starminder commentedFound the fix for this:
http://drupal.org/node/1171568
Comment #42
silverwing commentedClosing comments due to spam.
Comment #42.0
silverwing commentedsetting to full html due to spam