Skip to content

Instantly share code, notes, and snippets.

@underhilllabs
Last active August 29, 2015 13:56
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save underhilllabs/8828645 to your computer and use it in GitHub Desktop.
Save underhilllabs/8828645 to your computer and use it in GitHub Desktop.
Webform and OG notes

OG Set up

  1. Install OG
  2. enable og, og_ui, og access control
  3. Create an Organic group
  4. go to Admin >> OG field settings
  • bundle >> Node >> Group
    1. Fields: Group .. click ( Add Field )
    2. Fields: Group Visibility .. click (Add Field)
  1. go to Admin -> OG field settings
  • bundle >> Node >> Webform
    1. Fields: Group Content Visibility .. click ( Add Field )
    2. Fields: Groups Audience, field name: og_group_ref .. click (Add Field)

create a private group

  1. Add content: group

Webform Display Settings

  1. Go to Structure >> Content Types >> Webforms
  2. Manage Display + hide fields: Groups audience and Groups content visibility
  3. Edit >> Display Settings + Uncheck "Display author and date info"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment