1

I can't see the option "User: roles" in the contextual filter, and when I select "Relationships" I don't see "User Roles". What happens?

4

You should add a relationship "Content:author"; then, the "User:role" filter will appear in "Filter criteria."

3
  • In the relationship "Content:author", not appears FILTER CRITERIA "User: role". I will edit my question
    – cabita
    Feb 24 '12 at 21:16
  • It's for Views 7.x-3.3 you can add (author)User:Role filter to filter the content by its authors role, its not a contextual filter but an ordinary one. It appears after adding "Content:author" relationship
    – ijujym
    Feb 24 '12 at 21:27
  • Your answer is very useful for me. Thanks very much.
    – cabita
    Feb 24 '12 at 21:54

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.