Og_Panels

kevancummins2's picture
public
kevancummins2 - Thu, 2008-07-10 09:52

I watched the screencast on Organic Groups Panels - a super video! I want to add a page for Discussions (like here on Drupal Dojo) but I can't work out how to add a view (I can add blocks etc no problem). The screencast shows the Events page is made by adding OG teasers filtered by type/term which appears under Organic groups (along with OG Posts by NodeOG - titles, River of News - table and OG River of News - teasers) - but I can't see these views when I add content in the panel on my site. I just see Group description, Group details, Group search, Group Subscribers and Welcom message - can anyone help me find out how to add the river of news, OG posts by type etc.

I have Drupal 5.7 and the following up-to-date modules (as of today):
- Organic groups panels
- Mini panels
- Panel nodes
- Panel pages
- Panels
- Views panes
- Tabs panel style

Cheers

Kevan Cummins


Already got help on this

kevancummins2's picture
kevancummins2 - Fri, 2008-07-11 00:55

Hi everyone

Angie Byron provided the following answer:

To do this you need to enable the "Views panes" module, which is part of Panels module. This allows you to expose a View as a piece of content which can be added to a Panel.

Brief usage instructions:
1. Go to Administer >> Panels >> Views panes.
2. Select whichever View you'd like to expose and click "Create panel view". For example, I built a view with an argument of "node type" and called it og_posts_by_type.
3. Give the pane a title, and change its category from "Views" to "Organic groups" to show it there instead.
4. Choose the type of View (often "embedded" is what you want, so you don't get messy stuff like double breadcrumbs) 5. Under the argument you'd like to expose to group administrators, under "Argument source" select "Input on pane config"
6. Set any other random settings you'd like. :)

Hope that helps!

-Angie


Helpful but not enough

yktdan@drupal.org - Mon, 2008-08-04 03:57

I think I created a RON but when I create a group post it does not wind up there. I have a main (home) panel page and a discusion tab where I had hoped this would appear. Perhaps someone can export the page that has created this discussion tab in this group.