Closed (fixed)
Project:
Views (for Drupal 7)
Version:
6.x-3.x-dev
Component:
comment data
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
6 Oct 2011 at 13:45 UTC
Updated:
16 Feb 2012 at 22:17 UTC
Jump to comment: Most recent file
Comments
Comment #1
dawehnerWell you have a relationship for the last comment author availible. Then get the user: picture by adding a user: picture field with the last comment author relationship.
Comment #2
fadgadget commentedThanks for the reply dereine. I do have the relationship added you mention. the 'Comment: User
The User ID of the comment's author.' then the "User: Picture The user's picture, if allowed." field is added using the relationship added. As you can see from the 2nd screenshot above all i get is a load of entries from the same node. I have to admit dereine i have no idea why i cant get the desired output as it does all make sense to me and i think i have done it right.
Comment #3
dawehnerOh! there is no relationship available, sorry for assuming this.
Feel free to test the patch.
Comment #4
fadgadget commentedThanks for your help dereine your patch worked great. I now have a "Node: Last comment author" relationship and all my views work just as i had hoped. Thanks again.
Comment #5
Letharion commentedComment #6
fadgadget commentedHi Dereine. I hope you dont mind me asking here. Ive had to revert back to views 2 due to a new theme i have on my site. Im having problems with the code when adding it to my new file. Would it be differant code for Views 2?
thanks
Comment #7
dawehnerNo it won't be but this patch will not be added to views2.
Comment #8
dawehnerCommited to both 7.x-3.x and 6.x-3.x
Comment #10
David_Rothstein commentedThe field introduced here seems broken... I filed an issue about it here: #1443244: "Content: Last comment uid" field is broken (fatal error)