I'm using Organic Groups on several sites in lieu of sections - because of the flexibility and membership options. However, I would like to have more power over theming the layout of the group pages. Out of the box, there is the option of displaying all posts as a river of news (blog style) and grouping the posts by content type. However, the second option seems to come in a predetermined format which is not suitable if the section should also present the group to the outside world. I would like to make the group front page look more like a dashboard (such as those using the Panels module). Unfortunately, it seems that it is impossible to theme that layout because the whole block is generated by calling $homepage_nodes. Any ideas how to change that view? I've also thought about using Views but, unfortunately, OG only provides filtering by groups the user is subscribed to rather than by what group a node belongs to. Which means I can't use the excellent Panels view to get around this. (Unless, I'm missing something.) I would be grateful for any hints of where to go next.

Comments

SomebodySysop’s picture

OG Home Page View
http://drupal.org/node/59846

Change OG home page appearance: http://drupal.org/node/56103
Theme OG home page: http://drupal.org/node/26559#comment-46867
Calling View programmatically: http://drupal.org/node/62099
Replace Group Home Page with View: http://drupal.org/node/88020

In the og.module, specifically, there are these two themable functions:

theme_og_view($node, $teaser = FALSE, $page = FALSE)
theme_og_list_generic($gid, $type, $mode)

Personally, I would create my own view. You can insert multiple views into one view: http://drupal.org/node/85720

Hope some of this helps.

-ron

techczech’s picture

Thanks for the help. I did a search but somehow missed all these. I'll go through them and report on how I got on.

joshua_cohen’s picture

Great Links