This wiki page will document how to use the shiny new og_panels functionality for your groups.drupal.org group. We will be building out new views that are made available to you via the wonderful Views 2.0 ability to create different "displays" for each view, and dedicate some of these to Panels under specific contexts. Right now, we're just running off the legacy views from the old system.
Here is a screencast on this content- http://drupaldojo.com/session/organicgroupspanels-gdo
Here is a quick how-to:
(community: fill this list out and we will create them!)
Panels
- You can place the og_mission, aka the nice text description of the group, as-is. You will likely want to override the title to be blank (as you may want to with a number of content elements)
- You can place a River Of News by putting in the og_ghp_ron from the "Views" section, and setting the context as "Node ID" from the drop-down on the second configuration page.
Views / Content Types (TODO):
- og_members_faces: Use context "Node ID" to get some faces to appear. As you can see current default is not very user friendly. Default order should list all members with pictures first; look at this issue to see how this can be fixed: http://drupal.org/node/537206
- og_list_node_teaser: New view that will display N number of node teasers. Available filters: Node type(s), category(ies), taxonomy.
- Events > Signups > Signup member list: Provide a member signup list with actual First and Last names. Many (if not most) events require full name to participate in order to pass venue security check.
- event: This view displays events & calendars (big & small).
- Calendar page (display): Large calendar (full page style) view of all GDO events.
- Calendar block (display): Small calendar (block style) view of all GDO events.
- Year view (display): ???
- Month view (display): Large calendar (full page style) view of all GDO events this month.
- Day view (display): ???
- Week view (display): ???
- Block view(display): ???
- iCal feed (display): XML (iCal) feed of all GDO events.
- Upcoming (display): This is the view you can use for your group right now to show a small block (list) of your group's upcoming events.
TODO: how to filter them for your group like upcoming - og_content_type: Use the "og_recent_type_term" block and pass in an argument in position #0. For instance, if you want to see all job node types, you would define the following argument in your block settings: job/all (parameter 0 is the node type, parameter 1 is the taxonomy id... all is a wildcard). Available nodetypes are: story (discussions), wikipage, poll, job, event. You can possibly combine types with + (?). TODO: difference with og_list_node_teaser
- og_category_term: Use the "og_recent_type_term" block and pass in an argument in position #1. For instance, if you want to see all nodes with a taxonomy term id of 789, you would define the following argument in your block settings: all/789 (parameter 0 is the node type... all is a wildcard, parameter 1 is the taxonomy id)
Attachment | Size |
---|---|
og_members_faces.jpg | 66 KB |