Closed (fixed)
Project:
Organic Groups
Version:
5.x-7.2
Component:
og.module
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
18 Jun 2008 at 18:17 UTC
Updated:
3 Jul 2008 at 15:14 UTC
How can site admin assign a specific theme to an organic group and all its content?
I don't mean any fancy solution where group manager is allowed to pick his favorite theme.
Simply site admin picks a theme for one group,
could be some hacky solution like (inserted somewhere?):
$group_node = og_set_group_context();
$group_nid = $group_node->nid;
if $group_nid == 355 { //e.g. group 355
apply custom theme
}
Comments
Comment #1
moshe weitzman commentedThis code has to run early in the request. I suggest putting it in hook_menu(!may_cache) in your custom module.
Comment #2
moshe weitzman commentedComment #3
Anonymous (not verified) commentedAutomatically closed -- issue fixed for two weeks with no activity.