Add a way to get back to default group page

buddhahara - December 3, 2007 - 17:31
Project:Organic groups
Version:5.x-4.1
Component:og.module
Category:feature request
Priority:normal
Assigned:Unassigned
Status:closed
Description

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.

#1

Rob_Feature - December 14, 2007 - 19:40

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...)

#2

gracearoha - December 19, 2007 - 11:11

I am also struggling with how to achieve this.

#3

JK_drupal - December 19, 2007 - 14:51

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?

#4

Rob_Feature - December 20, 2007 - 00:37

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.

#5

JK_drupal - December 20, 2007 - 03:47

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

#6

buddhahara - December 21, 2007 - 19:35

There must be a better way....

#7

JK_drupal - December 24, 2007 - 06:24

Any suggestion?

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

#8

SomebodySysop - January 10, 2008 - 01:54

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?

#9

buddhahara - January 31, 2008 - 16:52

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.

#10

moshe weitzman - March 14, 2008 - 14:59
Status:active» fixed

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

#11

SomebodySysop - March 14, 2008 - 18:58

Thank you!

#12

Anonymous (not verified) - March 28, 2008 - 19:04
Status:fixed» closed

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

 
 

Drupal is a registered trademark of Dries Buytaert.