I have a View: Block that is on a user account page.
I want the View to make a list of nodes created by user.

Currently on the view in the filter section. I can only hand type users in.
Is there a way to pass args() or something?

Comments

merrillbros’s picture

Erased

merrillbros’s picture

I solved my problem with Views: Contextual filters.

I added a relationship with "Content: Author"
I added a contextual filter "Content: Author Uid" with the settings:
- In the "When filter value is NOT available" section check radio option "Provide default value" with Type "ID from User"

Thats it!