Using your module to create two groups. These are accessed from the home Drupal page. The groups are green and brown. Green has a node of node/5 and brown is node/2. Both are accessible from the groups menu and work well.
There is an issue that may not be a part of your code. When using section module to add a unique theme to each group I run into an interesting issue. The new theme is available when I go to green at node/5. However, when in the green theme and comments, reply or blog are accessed the theme returns to default of blue. i.e. path is then not correct. This is the path for accessing a comment when on the green part of the site. http://localhost/drupal/node/18#comment.
The issue appears to be related in generating the correct path for the section module. There is a place for that code, but I am not sure what the interaction is between the two modules. i.e. what path code should be used so that all of the sub pages (nodes) in green will still be in the green theme and not revert back to the default of blue.
The overall plan is to have a number of groups in one Drupal site , but each with their own unique theme.
This issue may have nothing to due with either module but just my understanding of how a path works in Drupal. Any help in addressing the path issue is appreciated.
Jim
Comments
Comment #1
moshe weitzman CreditAttribution: moshe weitzman commentedit is not yet possible to theme each group differently. this is a non trivial feature request.
Comment #2
moshe weitzman CreditAttribution: moshe weitzman commentedcoming soon
Comment #3
moshe weitzman CreditAttribution: moshe weitzman commentedcomitted to HEAD. since this feature is not yet optimized, i don't recommend using HEAD og on a production site for a few days until a patch to core gets approved. i will close this issue when that happens.
Comment #4
Alaska CreditAttribution: Alaska commentedGlad to see that the mod is in progress.
Jim
Comment #5
moshe weitzman CreditAttribution: moshe weitzman commentedperformance issue resolved with tonight's commit. requires current HEAD version of drupal.
Comment #6
moshe weitzman CreditAttribution: moshe weitzman commentedthis makes groups stick with the default unless it opts otherwise ...
Comment #7
jakeg CreditAttribution: jakeg commentedHow exactly can you get a group to opt otherwise? I don't see this option anywhere, though I can see the module cleverly selects a custom theme as a global variable.
Comment #8
jakeg CreditAttribution: jakeg commentedOkay, got it. There doesn't seem to be a UI for changing group themes yet. I had to do it directly in the database. Is this correct?
But let me say this... fantastic!!! I thought I was going to have to hack my own way to have themes for og.
Comment #9
jakeg CreditAttribution: jakeg commentedOkay, you have to actually enable other themes in the main admin > themes page to be able to change them through the UI.
Comment #10
moshe weitzman CreditAttribution: moshe weitzman commentedComment #11
(not verified) CreditAttribution: commented