Skip to content

Project Based AustESE

Anna Gerber edited this page Nov 26, 2013 · 8 revisions

These steps detail switching an AustESE drupal install to using the new Project based workflow.

Disable All Drupal Mongo Modules

Especially mongo_field_storage

drush dis mongodb_block mongodb_block_ui mongodb_cache mongodb_migrate mongodb_queue \
mongodb_session mongodb_field_storage mongodb_watchdog

Install Organic Groups

drush dl og
drush en og og_access og_ui og_context

This will prompt to also dl entity, views, views_bulk_operations, entityreference, ctools

Enable the Repository API module

drush en repositoryapi

Add a new content type called Project, and set to OG type group

  • rename the body field to description

Add fields to Project type

Content Types -> Project -> Manage Fields

Add field, Label: "Short name", Weight: "-4", Type: "Text", Widget: "Text field" Machine name: field_short_name Help text: "Enter a short code to identify resources in this project."

Default maximum length of 255 is okay.

Set required field: true.

Setup OG Project fields

Navigate to Drupal Admin -> Configuration -> Organic Groups -> OG Field Settings Select the Project bundle, and add Group visibility field and Group roles and permissions field.

Create /projects view

In the development version this is currently done with the Drupal Views module, but Damien has been having some trouble configuring it to display everything. It's also extra steps requiring installation. It may be better to do this in code.

drush dl jquery_update-7.x-2.x-dev
drush en views_ui
drush cc all

Add new view View name = List Projects Display content of type Project At URL /projects Add to Main Menu, item List Projects Display in header this content

These are all the projects in AustESE at the moment.

<a href="/node/add/project">Create a new Project</a>

Setup menu block

Display Project Links block in Primary.

Go to Administration -> Organic Groups -> OG Context

Enable 'AustESE GET Parameter'

Setup Project Email Invitations

drush dl og_invite_people
drush en og_invite_people