Drupal Technical
[SOLVED][Drupal CCK][Drupal Views] Filter a View by the current user in a userreference field
Many Drupal users were searching for a way to filter a View by the current user in a userreference field. If you are looking for a way to filter your Drupal View by using the current users information in your Drupal site then we have the right solution for you. Continue reading to find out the solution.
Here are the steps.
- First add the Userreference relationship to your View.
- Next add the User:Current filter to your View ("Filter the view to the currently logged in user)
- After that select that the active user should come from the relationship.
Hope that helps.
The easiest way to solve a Drupal issue is to hand it to the Drupal experts. We can provide a wide range of Drupal services to help you maintain and manage your Drupal websites. Get in touch with us to know more.
Reference: http://drupal.org/node/245950