User's view of Organic groups

Status: 
Open
Question: 

First of all, thank you very much for your Ultimate Guide! It was a great help.

I would like to create a view where the organic groups of a certain user are listed. This feature is quite common on community websites. But I can't figure out how to apply the argument "uid" to the membership-relationship of the organic group module. Do you know how to establish such view via the view-front end?

Best regards,

Matthias

Responses

1. Organic Groups

Another way to do this is to use the block feature to list new groups in the side bar or in the content areas. If you look at blocks you will see several new block added when you activate the organic groups.

I have used this in the past and will use again when I install organic groups. I will be doing this shortly at Drupalus.com

Thanks and good luck.

2. Views

You can create a View which shows the user's (which profile you're currently viewing) groups in a block, based on the userID as argument, and a relationship with og.

Works great, however this view will also show private groups (if you click on them you'll get access denied) which I don't want to show in this view at all if you aren't a member, but I don't think this is possible with 1 view.