Single Group Events widget for Group Calendar

Hi there,

I was wondering if we instead of using just a single group name/id for display event in the “Single Group Events” we could get the group id depending on the group been viewed.

This would be cool.

I tried doing something like instance = bp_group_id();

This did not work.

Can you post the code change i need to do this in this thread.

Its a little urgent.