Paid affiliate advertisement
Default theme for an organic group
scedwar - January 30, 2008 - 16:28
I would be interested if anybody would take up this issue, to create a default theme for new group types:
http://drupal.org/node/202442
Code should be committed back into the community og.module.
We're a UK charity with a small web development budget so if this is a lot of work, and hence a lot of money, we'll have to pass.
Thanks.

Demo site.
I have setup a demo site at http://demo11.codesetter.com . There are two groups at the site with their own themes. Please have a look at the groups and tell me if this is what you are after. Good night.
Yes - this is the end result
Yes - this is the end result I am looking for.
THEMES:
Overall Site Theme
Group Theme 1
Group Theme 2
Group Theme ...
Users can create a new group, but by default it always set to Group Theme 1 and NOT the overall site theme.
The user should be able to choose from the other group themes (but this is not so important).
You are lucky then :-)
If you don't want to spend a single penny, then run these queries on your (MySQL) database:
ALTER TABLE og modify column theme varchar(255) default 'theme_name';
UPDATE og SET theme = 'theme_name';
Make sure that the 'theme_name' theme is already enabled.
If, yes if, OTOH you want lots of bells-n-whistles like -
- then we'll have to write a module. But at the heart of everything, it'll be just the second query :-)
Perfect! Thank you so much!
Perfect! Thank you so much! I'll leave any more than this to the og experts!
(Neat solutions like this makes me, even more so, want to get to know drupal better, especially the underlying db structures. )
nice solution
thanks
subscribe...
subscribe...