I think it would be useful if there was a better way to get to the default group page from the Group Details Block. I think it would be great if the Title of Group Details Block (which is named after the OGNAME) was a clickable link to return back to the group home. I am also wondering how other people workaround this issue... The breadcrumb works ok when it is available, but isn't obvious to users... The way that I have configured the site the breadcrumb also isn't always there when dealing with group activities (e.g. browsing by group taxonomy). Any help would be appreciated.

Comments

Rob_Feature’s picture

Wow...
I couldn't agree with this more. This seems like an incredibly basic usability issue that has been overlooked. This is one of those things that developers don't notice how very important it is until they try and use one of the sites they've created.

Can we get this rolled into a patch? (I'm no developer or I'd take it on myself...)

gracearoha’s picture

I am also struggling with how to achieve this.

Jkello’s picture

I am also thinking about this. I was thinking if I can use views to get a current view and add it into a block

Then I put the block as a footer in my group pages?

Any other easier methods?

Rob_Feature’s picture

This isn't the cleanest solution ever, and it works in most situations (although not all)....
Create a block with the following (courtesy of mfer) which will create a graphical 'back to group' button:

<?php
if (arg(0) == 'node' && is_numeric(arg(1))) {
  $node = node_load(arg(1));
  if (isset($node->og_groups[0])) {
    print l("<img src=\" /files/back_to_group_button.gif\" alt=\"Back to Group\" title=\"Back to Group\" />", 'node/'. $node->og_groups[0], array(), NULL, NULL, FALSE, TRUE);
  }
}
?>

This is setup to use a graphic as the 'back to group button, and for this example it's a file called back_to_group_button.gif which is in the files folder. Hope this helps a few folks at least get something semi-workable.

Jkello’s picture

Thank you Thank you for me it works fine! =)

buddhahara’s picture

There must be a better way....

Jkello’s picture

Any suggestion?

I am not a developer that's why I am not very good with this.

somebodysysop’s picture

The better way, I think, is some sort of implementation within OG of the patch I suggested here: http://drupal.org/node/176140. I mean, what better place to have the link back to the OG Home page than at the top of the OG Navigation menu?

buddhahara’s picture

Let me clarify,

There are two pages on my site that could be considered group homepages:

1.) Group Anchor Page- this is like /og, but my custom version. this page is available through the main menu.
2.) Group Home Page - once you enter a group through the anchor page then you are on the group home page and the group navigation shows up. once you use the navigation or click through posts/comments/etc. in the group then there is no elegant way to get back the group home. this should be a link in the group navigation menu in my opinion.

this is probably the most annonying outstanding issue with my site.... any help would be appreciated.

moshe weitzman’s picture

Status: Active » Fixed

I made the title of the group details block back into a link. Will be in next og release.

somebodysysop’s picture

Thank you!

Anonymous’s picture

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for two weeks with no activity.