Licence: GNU General Public License (GPL) version 3
Elgg version:

This simple widget displays all groups of a memebr. We list all the groups in which the user is a member of. We have the provision to limit the no of groups listed in the widget.

To install a widget you can simply go to the widget display gallery on the right side, click on the four direction arrow on the Group Memebership widget and drag it to the main content area widgets.

Once the Group Memebership widget is in place, you can further customize it by clicking the edit button on the top right of it. When clicked, a configuration menu drops done from the widget header bar with your options. You can select your options and save them as your wish.

Hello,

we can add the widget by adding the following code in groups_init() function.

add_widget_type('owned_groups',elgg_echo("owned groups"),elgg_echo("owned groups"));

I will send a comprehencive patch of this by Monday. Sorry for the trouble.

Webcubes 178 days ago