How to display all users in a view except the current login user?
I try to write some php code in contextual filter, but that not work. I think there is an easy way but I don't know it.
Drupal Answers is a question and answer site for Drupal developers and administrators. It only takes a minute to sign up.
Sign up to join this communityHow to display all users in a view except the current login user?
I try to write some php code in contextual filter, but that not work. I think there is an easy way but I don't know it.
I was able to make a view that displayed all the users while excluding the current user. Here is a screenshot of the settings I used:
Note that the important filter here is the "User: Current (No)". That is the one you'll need to have.