How to add a "more" link to the block "Group members"

Events happening in the community are now at Drupal community events on www.drupal.org.
gvanhoof's picture

Hi,

I am trying to figure out how to add a "more" link to the block "Group members" provided by OG.

The "more" link should link to /og/users/groupid/faces as you did for Drupal Dojo.

Thanks in advance,

Greg

Comments

Drupal Version?

joshk's picture

Drupal 5 or 6?

In drupal 6 you can potentially make a drupal_alter call to add this. However, the block function itself is not hookable or alterable:

http://api.drupal-contrib.org/api/function/og_block_subscribers/og

Best bet is to copy that into your own block and add the more link there.

http://www.chapterthree.com | http://www.outlandishjosh.com

Were the members block and

andrenoronha's picture

Were the members block and members page created by og + views?

i use drupal 6 and OG
OG gave me a members block created using views, which i modified to fit my needs.
Then I created a views page to add the more link in the block pointing to the views page with all the members.
But when I click at the link "groups/groupid/members" the new page shows the members but it loses the context with the group and loses the group details block and everything.

how did you implemented this feature in here?? I need it so much!

thanks in advance...