Created oglogo page callback to allow printing of group logo on "Printer-Friendly" pages. This code (copied from logotools.module) will print the existing group logo for a page. http://drupal.org/node/256423

Created code in og_user_roles_all_roles() to give this page a group context:

// oglogo (printer friendly)
//
// http://www.mysite.com/oglogo
if (arg(0) == 'oglogo') {
if ($_SESSION['og_last']) {
$location = 202;
$gid = $_SESSION['og_last']->nid;
// Set group context.
$group_node = node_load($gid);
og_set_group_context($group_node);
}
}

Comments

Anonymous’s picture

Status: Fixed » Closed (fixed)

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