1

I'm using organic group module and I have 3 og membership types:

  • 'member'
  • 'non-member'
  • 'visitor'.

I created an view which shows me all user group listing under one group which includes users role also but it is not displayed.

In view I added an Relationships as 'OG membership: OG membership from User ' and added filed for the same.

2

To work with user-roles in a view, you also need the relationship "OG membership: OG Roles from membership", where you have to set the relationship to your previously added "OG membership from user"-relation.

After that you are able to display the user's role or filter by user-roles. Hopefully this information was helpful for you.

1
  • same problem..! unable to display even I followed above instructions
    – Chella
    Dec 18 '13 at 12:01

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.