Hi all and thanks for sharing your knowledge with us newbies. I want to use Views (or anything else, short of writing code) to display content that is unique to the current user. I currently have the Views filter set to "Content: Author uid (= JakeRogers)"...that's me. I could of course create 6 more Views, each referring to the other 6 member's UserName, who have permission for this view. Is there a way I can simply refer to a core variable, like $Userid, instead of "username" so I could do this with 1 View instead of 7 views?

I know virtually nothing about code, so was looking to do this with just adding a module or 2, if possible. Thanks for any help, advice or reference.
Jake

Comments

yelvington’s picture

You need to create a relationship to the user table. Under "advanced" add a relationship "content:author." Now you can filter by user. Note that the filter is called "user:current" and not "author" anything. You can filter by author "is the logged-in user" with a yes or no radio button.

JakeRogers’s picture

Edit: That was almost too easy...not sure I fully understand what I did, but it works! Many thanks for the quick and accurate help.

Thanks so much...a lot for me to absorb, but I think I can do...will reply back.
Jake

Jake