To control the OG Detail Block items: make a small module (so just a .info and .module file, give it whatever name you like, I called it modulename in the example) and put inside:<div><br></div><div>The following code has some commented out code, the drupal_set_message code gives you the names of all the $links so you know which ones to remove or change, then I changed the invite link text to blablabla and removed the subscribers and manger link.<br>
<div><br></div><div><div>/**</div><div>* Implementation of hook_og_link_alter().</div><div>*/</div><div>function modulename_og_links_alter(&$links, $group_node) {</div><div>//drupal_set_message('<pre>'. var_export($group_node,TRUE) .'</pre>');</div>
<div>//drupal_set_message('<pre>'. var_export($links,TRUE) .'</pre>');</div><div>// Remove or change links from group details block.</div><div> $links['invite'] = 'Blablabla';</div>
<div> unset ($links['subscribers']);</div><div> unset ($links['manager']);</div><div> //unset ($links['my_membership']);</div><div>} </div><div><br></div><div>Good luck, </div><div><br></div><div>
Hans</div><div><br></div><br><div class="gmail_quote">2009/2/1 A-NO-NE Music <span dir="ltr"><<a href="mailto:madflute@anonemusic.com">madflute@anonemusic.com</a>></span><br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
Drupal 6.8<br>
<br>
I am having a difficulty controlling OG Details Block.<br>
<br>
- I need to show OG Details Block shown to all the pages even the page<br>
is not OG content.<br>
- I need to control the OG Detail Block items, i.e., I don't want to<br>
show the member list link.<br>
<br>
Any help would be appreciated.<br>
<br>
<br>
--<br>
- Hiro<br>
<br>
Hiroaki Honshuku, A-NO-NE Music, Greater Boston<br>
<a href="http://a-no-ne.com" target="_blank">http://a-no-ne.com</a> <a href="http://anonemusic.com" target="_blank">http://anonemusic.com</a><br>
<font color="#888888"><br>
--<br>
[ Drupal support list | <a href="http://lists.drupal.org/" target="_blank">http://lists.drupal.org/</a> ]<br>
</font></blockquote></div><br><br clear="all"><br>-- <br>Hans Rossel<br>KOBA Webdevelopment<br>Kerkstraat 228<br>9050 Gent<br>09-334.52.60<br>0472-79.32.16<br><a href="http://www.koba.be">www.koba.be</a><br><a href="mailto:info@koba.be">info@koba.be</a><br>
</div></div>