Reply to comment

15 Jan

Drupal 7 views 3 - filter for users

in Drupal Planet

If you are new to Drupal 7 and are creating views, there are lot of changes in what is exposed in the filters. One of the reasons is because Drupal 7 uses views 3.

One example is if you want to create a view of content and you want to add current user as a filter so the uses only see their content. 

Unlike previous versions of views, first you will need to define a relationship with Content: User. Now the User: current will be exposed in the filter which you can use to filter the content on current user.

User filter

Reply

The content of this field is kept private and will not be shown publicly.
Type the characters you see in this picture. (verify using audio)
Type the characters you see in the picture above; if you can't read them, submit the form and a new image will be generated. Not case sensitive.

copyright 2012 10jumps Llc.

copyright 2012 10jumps LLC.