Working With Organic Groups in Drupal 7 Matthew Radcliffe - - PowerPoint PPT Presentation

working with organic groups in drupal 7
SMART_READER_LITE
LIVE PREVIEW

Working With Organic Groups in Drupal 7 Matthew Radcliffe - - PowerPoint PPT Presentation

Working With Organic Groups in Drupal 7 Matthew Radcliffe mradcliffe@kosada.com Wednesday, December 7, 2011 History Organic groups (OG) in Drupal 5 and 6 Nodes and users User interface OG provided many useful views and pages out of the


slide-1
SLIDE 1

Working With Organic Groups in Drupal 7

Matthew Radcliffe mradcliffe@kosada.com

Wednesday, December 7, 2011

slide-2
SLIDE 2

History

Organic groups (OG) in Drupal 5 and 6 Nodes and users User interface OG provided many useful views and pages

  • ut of the box.

Compatibility was hit or miss with contributed modules.

Wednesday, December 7, 2011

slide-3
SLIDE 3

New in OG 7

OG’ s interface has been split out into a new module, og_ui. OG user access OG field access OG register Other

Wednesday, December 7, 2011

slide-4
SLIDE 4

New in OG 7

OG’ s interface has been split out into a new module, og_ui. OG user access OG field access OG register Other

  • User interface is
  • ptional.
  • Relies on knowledge of

Views module to create complex group and membership lists.

Wednesday, December 7, 2011

slide-5
SLIDE 5

New in OG 7

OG’ s interface has been split out into a new module, og_ui. OG user access OG field access OG register Other

  • Provides permissions

and roles that are restricted to Organic groups.

  • Separate from Drupal’

s normal permission and role system.

Wednesday, December 7, 2011

slide-6
SLIDE 6

New in OG 7

OG’ s interface has been split out into a new module, og_ui. OG user access OG field access OG register Other

  • Provides field-level

permissions for a group entity’ s fields.

  • Alternative to Field

Permission.

Wednesday, December 7, 2011

slide-7
SLIDE 7

New Architecture

Group Any field-capable entity can be a group by adding the OG Group field to it. A developer can also sneak this into other entities. Data also stored in og table. A group is also an entity.

Wednesday, December 7, 2011

slide-8
SLIDE 8

New Architecture

Group Membership Any entity can be a member of a group. OG Audience field tells us that an entity can have group membership. Data also stored in og_membership Group membership is also an entity, and group membership may have different bundles (types).

Wednesday, December 7, 2011

slide-9
SLIDE 9

Views and OG

Views concepts - initial view, relationships, and contextual filters. Choose the type of view. Choose relationships to bring in entity data (user, node, taxonomy, etc...). Choose contextual filters to restrict to a group’ s entity id.

Wednesday, December 7, 2011

slide-10
SLIDE 10

Practice with Commerce

Commerce Create product/product node with price. Rules Create new event node owned by Customer on Order status change. Other crazy things

Wednesday, December 7, 2011

slide-11
SLIDE 11

Organic Groups Future

Architecture User Interface Privacy

Wednesday, December 7, 2011

slide-12
SLIDE 12

Organic Groups Future

Architecture User Interface Privacy

  • Why do we need a

Group entity?

  • Why do we need to

duplicate Og Audience and og_membership?

Wednesday, December 7, 2011

slide-13
SLIDE 13

Organic Groups Future

Architecture User Interface Privacy

  • Og UI leaves much to

be desired.

  • Hire a Drupal

developer?

  • Suggest Ui

improvements on Og’ s queue?

Wednesday, December 7, 2011

slide-14
SLIDE 14

Organic Groups Future

Architecture User Interface Privacy

  • No option to hide group

and group content from non-members.

  • Og Private or Og?

Wednesday, December 7, 2011

slide-15
SLIDE 15

Questions?

Wednesday, December 7, 2011