I am setting up a Drupal site with about 15 organic groups. The goal is that registered users will have absolutely NO ACCESS to any group except the one to which they belong (this is to prevent users from digging into information that does not apply to them -- and to eliminate confusion by not even showing them the list of group that don't apply).
I have already disabled the "Groups" list from the navigation menu, but when a registered user visits his/her group's home page, the link to the full list of groups appears in the bread crumb trail ("Home > groups "). I do not want the registered users to be able to see the full list of groups. Furthermore, if a registered user clicks on a group page to which the do NOT belong, he/she still gets to view the group's home page with a message suggesting the user "subscribe" to the group since there are no public posts. These are all things I want to avoid.
So my question is -- what is the best way for me to accomplish the result I am looking for?
a) should I disable the bread crumbs trail to remove the link option?
b) is there another way to prevent users from accessing the list of groups?
c) if a user stumbles upon a wrong group, can I completely block the group home page from view (ie: "unauthorized" warning), rather than showing the group home page with an encouragement to subscribe?
Your help is appreciated, thanks!
Comments
...would still appreciate feedback
To move the project forward, I opted to remove the bread crumb trail from the theme's "page.tpl.php" file. However, if someone has an alternate suggestion to block access to group lists (and allow me to re-enable bread crumbs) I would appreciate it.
Thanks!
How to manage breadcrumb navigation for groups public content.
Sorry no one helped with this before, and perhaps you have moved on, but, hopefully this will help
someone.
The breadcrumb function picks up it's links from where a node is listed in the menu structure. If you create a node in a group and accept the default menu entry that is generated on the edit page, THEN that is what gets picked up by the bread crumb navigation.
To change this, create a new menu, and add this new node to that menu as a menu item. If it is a top level menu, then only Home will appear in the breadcrumb. I presume that if you enter the item further down in a custom menu, that that menu heirarchy will be what is picked up for the breadcrumb.