I want to create a view for each individual user of my site which would display the content create by that logged in user only, i.e, When a user logs in, then when he clicks a tab (i am using quicktab here) a view appears which shows all the content that this user only has created. I do not want to show this user content created by others. Is there any efficient way to do so. I am using Views3.

Thanks for your time


Yes, the easiest way to list content created by user is with Views.

Basically, create your view, with the relevant filters for content type, fields etc..

Then add a contextual filter for current user.

  • Click "Advanced" > "Contextual Filters"
  • "Add" > "Content: Author uid"
  • "Provide default value" > "User ID from logged in user"
  • Save

User ID contextual filter

| improve this answer | |
  • 1
    @David...Thanks...i also figured it out...thanks for the quick and prompt reply...appreciate it – why Feb 11 '13 at 4:23

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.