Closed (fixed)
Project:
OG User Roles
Version:
5.x-2.8
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Reporter:
Created:
10 May 2008 at 18:07 UTC
Updated:
24 May 2008 at 18:11 UTC
Extended group context to "Printer-Friendly" group pages. This allows oglogo to work. In og_user_roles_all_roles():
// print.module (printer friendly)
//
// http://www.mysite.com/print/14
if (arg(0) == 'print' && is_numeric(arg(1))) {
$location = 201;
$nid = (int)arg(1);
$gid = og_user_roles_getgid($nid, $uid);
// Set group context.
$group_node = node_load($gid);
og_set_group_context($group_node);
}
Comments
Comment #1
Anonymous (not verified) commentedAutomatically closed -- issue fixed for two weeks with no activity.