Closed (fixed)
Project:
Views (for Drupal 7)
Version:
6.x-2.10
Component:
node data
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
2 Jul 2010 at 18:09 UTC
Updated:
26 Sep 2012 at 05:46 UTC
In looking at the Views documentation (drupal.org/node/54448) I see of list of useful Node data that can be exposed via Fields that includes "Node: Author Name". In setting up a view for a custom content type that I've created, I don't see "Node: Author Name" in the list presented by Fields. All the other Node fields listed in the documentation (title, type, comment *, etc.) are all available for this content type, but not Author Name.
I've tried setting up a range of relationships to get Node: Author Name to show up in Fields, but no joy. Any suggestions?
Comments
Comment #1
merlinofchaos commentedThe field is User: Name in Views 2.
Comment #2
dleatham commentedThanks! I missed "author" in its description - my bad. I was thinking that "User" was the logged in user, not the node author user.
Appreciate all your work on Drupal!
Comment #3
merlinofchaos commentedIt's not in the description because that's specific to nodes. But User: Name can appear in 'user' views and isn't an author, and there is no easy way to change the text out for that case.
In a way it's an error because what's going on is that there is an implicit relationship on node author to all 'user' fields. If that relationship were explicit it would probably be easier.
Comment #5
rakesh.gectcrIts working properly, 2 steps
1) Create relation ship in your view with " Content: Author "
2) Get a Field in the Fields with " User:Name" with relation as author.
Problem Solved.. Thanks all
Comment #6
KerriO commentedComment #7
KerriO commentedfalse alarm
Comment #8
rakesh.gectcrhttp://knowledge.3icube.com/blog/node-author-name-missing-views-fields