We have a need for Organic Groups Admin to be able to customize the OG menu. OG_MENU module just is not working and is buggy/kludgy. We have a solution ALMOST built through CCK links and toggling thru a custom node, but need it to insert the $GID into the links path and that is where we are stuck.

Need help in the next 2 weeks.

Inquire within, you'll love us!

drupaljobs @ gripmedia DOT net

Comments

scedwar’s picture

There is an og_block module that provide a unique block per group, this can easily be edited using HTML to provide unique links, links to views using GID or to the content creation link.

Alternatively, just create a static block for all groups like this:

$group_node = og_set_group_context();
echo $group_node->title;
?>
<a href="/node/<?php echo $group_node->nid; ?>"><?php echo $group_node->title;?>Home Page</a>
<a href="/somecontent/<?php echo $group_node->nid; ?>">Links to a group content</a>
<a href="/node/add/blog?gids[]=<?php echo $group_node->nid; ?>">Add blog page to current group</a>

Can't offer any more help than that, I'm after my own OG expert too (http://drupal.org/node/228488)!

WISEOZ’s picture

Did you ever find someone for this? This is something I have been looking for as well. Would be interested in receiving any contacts you may have found.

WISEOZ’s picture

Nevermind that ... I just tried scedwar's snippet and made it my own and it works wonderfully. Thanks scedwar!!!