Download & Extend

Open Media Configuration Checklist

Configuration Checklist | spnn.makedatamakesense.com_1302897157382.png

The "suite" of Open Media modules in addition to many other modules used by Community Media in Drupal are designed to be implemented incrementally based on each station's needs. This is not an exhaustive checklist, but designed to help someone new to Drupal, CiviCRM, MERCI, Organic Groups, and Media work through large parts of the configuration process.

I am only developing a D7 branch of this modules, since the features and configurations steps are so different between D6 and D7. If someone is interested in maintaining a D6 branch, let me know.

The PHP for adding checks in designed to really simple and link back to documentation on Drupal.org whenever possible. This is to encourage the contribution of patches and documentation updates from the community.

Status Check Samples

This is a check to see if either CiviGroup Roles or CiviGroup Group Sync are configured that is run after CiviCRM is enabled.

//CHECK 1 - CiviGroup Roles or CiviGroup Group Sync configured?
if (!module_exists('civicrm_member_roles') && !module_exists('civicrm_group_roles') ) {
    $status = array(
    'description' => 'CiviCRM is installed, but neither CiviGroup Roles and CiviGroup Group Sync are configured.  This is how information membership and certification information is shared between Drupal and CiviCRM.  <a href="http://drupal.org/node/1013546">Step by step instructions for configuring CiviGroup Roles and CiviGroup Group Sync</a>',
    'severity' => 2,);
    return $status;
  }

This is what the check to see if any content types have been configured as buckets or resources...

//CHECK 1 - Check to see if any content types have been created
  $merci_item_count = db_query("SELECT COUNT(type) FROM {merci_node_type} WHERE merci_type_setting = :bucket OR merci_type_setting = :resource", array(':bucket' => 'bucket', ':resource' => 'resource'))->fetchField();
 
  if (!$merci_item_count) {
    $status = array(
    'description' => 'You have not configured any content types to be Buckets or Resources.  Please follow the <a href="http://drupal.org/node/1043510">step by step instructions for configuring MERCI managed content types</a>',
    'severity' => 2,);
    return $status;
  }

Downloads

Version Downloads Date Links
7.x-1.x-dev tar.gz (9.44 KB) | zip (10.51 KB) 2011-Apr-16 Notes

Project Information


Maintainers for Open Media Configuration Checklist

Issues for Open Media Configuration Checklist

To avoid duplicates, please search before submitting a new issue.
All issues
Bug reports
nobody click here