Closed (works as designed)
Project:
Subgroups for Organic groups
Version:
6.x-0.x-dev
Component:
Code
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
19 Oct 2008 at 21:35 UTC
Updated:
20 Oct 2008 at 07:10 UTC
Comments
Comment #1
amitaibuI'm not sure I understand. When content propagates then it belongs to several groups. What do you mean it's by the lowest gid (in the OG subgroups block maybe?)
Comment #2
daniorama commentedHello, sorry I thought that because of the way I was visiting the groups, now I've read the code of og and what it does is using the context of the last visited group. The thing about the gid was just a confusion from me, sorry.
The big problem is that if the user is in the parent group, clicking the link to a post in a child group will never set the context to the child group. I think that when the context propagates the child context should be the preferred context to use (for other people could be the parents) I think the best way to solve this should be override og_set_theme function, so following the propagation rule, it sets the context to its child (or its parent)
In the og code its said that this could be override but it's not explained how. Any ideas?
Comment #3
daniorama commentedThere is a bit more information here http://drupal.org/node/323425
Comment #4
amitaibu