Closed (duplicate)
Project:
Views (for Drupal 7)
Version:
6.x-2.3
Component:
comment data
Priority:
Critical
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
9 Mar 2009 at 15:59 UTC
Updated:
22 Mar 2009 at 10:45 UTC
Jump to comment: Most recent file
Comments
Comment #1
yched commentedI don't think you intended to post this in the CCK queue - moving this to drupal core queue, under the assumption you're having issues with comment.module's 'recent comments' block.
Comment #2
emagus commentedsorry, you're right. It's not cck. It's views. Not the built-in-recent-comments-block. That one doesn't let me configure the number of comments. That's why i want to use the views-recent-comments-block, which is causing my problem. sorry for my mistake.
Comment #3
jamesoakleyI have this identical problem. (I spotted it because I was getting lots of 404 errors in my dblog with search engines looking for www.example.com/nnnn, when the spider should have found a link to www.example.com/node/nnnn (or its alias).)
This bug occurs both in a block created with Views, and in a Views page. To replicate: (i) Create a "Recent Comments" View, (ii) Link the comment title to its URL. The result is that it links incorrectly, as described above.
I've changed the priority to critical because the effect of the bug is to populate the site with broken links.
For more information, I've attached an export of the view that doesn't work on my site.
Comment #4
nirvanajyothi commentedsame here.have got a block which lists the comments content correctly.but the title links are broken.
Eg.Points to http://example.com/245#comment-39 instead of
http://example.com/node/245/talk#comment-39
Comment #5
Andrzej7 commentedI have the same error
Comment #6
deshilachado commentedYou have two problems here:
Comment #7
LeisureLarry commentedIn order to fix the problem for the "recent-comments"-block using views 2.3 just copy the attached file to your themes folder, rename it as shown in the link and call admin/build/views/edit/recent_comments -> Basic settings ->Theme: Information -> Rescan template files -> Ok -> Save.
Greats from Germany
LeisureLarry (interiete.net)
Comment #8
merilainen commentedWhat do you mean by saying "rename it as shown in the link"?
Comment #9
Andrzej7 commentedThanks for help, but there is still the problem:
Link to node is OK, but link to comment still looks like that: http://mysite.pl/1129#comment-4812
The file in: modules/views/theme/
name of file: views-view-field--recent-comments--subject.tpl.php
Have rescanned
What have I done wrong?
Comment #10
jbrauer commentedThis was resolved in http://drupal.org/node/371466 and the patch has been applied.
Comment #11
Andrzej7 commentedThanks a lot
The pacht will be applied, but I've made it myself and i WORKS!
Thanks!