knpwrs
knpwrs

Reputation: 16466

Drupal view nodes created by username specified in url

I am trying to use views to make pages that will show posts by users according to their username in the url.

Basically, the following url should display all posts by someuser: http://drupalsite/posts/someuser

I have been trying for a few hours now but I can't find a solution. Can anybody point me in the right direction?

Upvotes: 0

Views: 252

Answers (1)

Kevin
Kevin

Reputation: 13226

If you are using Views you should be able to pass a URL argument of a username for the Node author to filter nodes.

Upvotes: 2

Related Questions