2

I am working on a Drupal 7 & OG & Views site, and I am trying to write a view that shows what users another user can 'see' through any group he's a member of.

ie: User A - Member of Group A, Group AB, Group AC User B - Member of Group B, Group AB User C - Member of Group C, Group AC

Output of View for .. User A - User A, B, C User B - User A, B User C - User A, C

Thanks..

2
  • so basically you want to show all the members that belong to the same groups the selected user belongs to?
    – uwe
    Oct 24 '11 at 16:01
  • Basically, yes..
    – Tim
    Nov 7 '11 at 0:58
2

Go to OG Members > EDIT > CONTEXTUAL FILTERS > PROVIDE DEFAULT VALUES > CURRENT OG GROUP FROM CONTEXT ....i assumed u have the OG MEMBERS which is a default view created after installation of the latest module.

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.