I have created a view that displays a content type that has a CCK user reference field in it.
I need to be able to cvreate a views argument to filters the view to only display the content which user reference matches the user name, not user id.
All user names are going to be account numbers, so there won't be any spaces, etc. Is there any way to create an argument to show a list of nodes whose user reference user name match the argument?
Comments
Comment #1
merlinofchaos commentedAdd a relationship for the userreference.
Then add User: Name as an argument and set the relationship to the userreference relationship you just created.
Comment #2
3cwebdev commentedThanks (again) for the fast response and great help! Views is totally amazing, but some of the more advanced stuff is a little hard to figure out. Your instructions worked perfect :)
Comment #3
Anonymous (not verified) commentedAutomatically closed -- issue fixed for two weeks with no activity.