Closed (fixed)
Project:
Content Construction Kit (CCK)
Version:
6.x-1.x-dev
Component:
Views Integration
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
12 Apr 2008 at 22:23 UTC
Updated:
4 May 2012 at 08:28 UTC
Comments
Comment #1
merlinofchaos commentedThis is a CCK question.
Comment #2
changed commentedOops...posting up the wrong tree :-P...Thanks.
Comment #3
karens commentedYes, using Views 2 and D6 CCK you can do that. Create a view and add the userreference field to it and you'll see the usernames listed in the view. For even more fun, add a relationship to the view and indicate you want the relationship to be the userreference field, then add any user field you want and you'll see a drop-down asking you if you want to get user info from the relationship. Say yes and you can see anything about that user you want to see.
Comment #4
karens commentedForgot to change status.
Comment #5
karens commentedOops, now that I answered a bunch of questions you didn't ask, I am thinking maybe you are asking if there is a filter that will show only the current user's information.
That process is similar. Add the userreference relationship to the view. Add filter to the view for User: Active user. Then choose that the active user should come from the relationship.
Comment #6
changed commentedSweet...Works great now. Thanks!
Comment #7
Anonymous (not verified) commentedAutomatically closed -- issue fixed for two weeks with no activity.
Comment #8
borgo commentedThanks for the tip KarenS!
In case someone is following this, In #5 filter should be User:Current which is "Filter the view to the currently logged in user". User:Active is something else "Whether a user is active or blocked".
Works great.
Comment #9
ionmedia commentedthanks
Comment #10
dddbbb commentedThanks borgo - was going a bit mental there...
THE ANSWER TO THIS ISSUE: a combination of #5 & #8.
Comment #11
felipesluz commentedTank's "KarenS".... Good Bless you!!!
Comment #12
msathesh commentedThanks for posting this. I was really breaking my head around the userreference and views to limit the user access. Thank you @karen.
Comment #13
Vidus commentedJust wanted to add my thanks. I've been wanting to do this for years, and just found this post. THANK YOU so much Karen