How to display only those nodes created by users in thier account ?

Events happening in the community are now at Drupal community events on www.drupal.org.
Posted by tejaspmehta on October 21, 2010 at 11:32am

Hello Everyone,

This sounds too basic question but i did not get solution from sometime so i am asking this one.

I need to create one view in which user can see only those nodes which are posted by himself. means there are 5 nodes in which 2 nodes created by user1 and 3 nodes created by user2 then when after login user1 check this view it will display those 2 nodes only which are posted by him only. And for user2 3 nodes will be displayed.

I did try few filters but didn't get any idea and even argument and relationship also didn't helped.

Thank you
Tejas Mehta

Comments

If I want to display a given

Posted by caschbre on October 21, 2010 at 2:32pm

If I want to display a given content type for the logged in user, I use an argument.

Argument: User: Uid
Provide default argument --> User ID from logged in user

That should do it.

Thank you caschbre. You saved

Posted by tejaspmehta on October 22, 2010 at 9:09am

Thank you caschbre.
You saved my day. I did try this but it didn't worked but i have selected another argument. Do not remember which i had. Thank you once again.

Thank you
Tejas Mehta

Views Developers

Group organizers

Group notifications

This group offers an RSS feed. Or subscribe to these personalized, sitewide feeds:

AltStyle によって変換されたページ (->オリジナル) /