<strong>Migrate OG</strong> provides various helpers for getting your data into Organic Groups.

<h2>Installation Notes</h2>

The following modification is required to be made to Migrate module in order to support clearing. I hope to contribute this modification as a patch to Migrate in the near future.

In <i>migrate.module</i>:

<strong>Change:</strong>

<pre><code>migrate_invoke_all("delete_$contenttype", $row->destid);</code></pre>

<strong>To:</strong>

<pre><code>migrate_invoke_all("delete_$contenttype", $tblinfo, $row->destid);</code></pre>

Also, all instances of hook_delete_CONTENTTYPE will need to add an additional argument, <strong>$tableinfo</strong>, before the existing argument.

<h2>Fields</h2>

Content sets that are the following types will automagically gain extra fields.

<h3>Node: <i>Group Nodes</i></h3>

Any node that is designated as a <strong>group node</strong> will these fields which you to change Organic Group settings.

<h4>Organic Groups</h4>

These are settings for the core Organic Groups module. If another module is required, it is mentioned under the dependant module.

<ul>
<li><strong>List in Directory</strong><br />Show the group in the group directory listing? (Boolean: 0 or 1)</li>
<li>
  <strong>Membership Request Mode</strong><p>How are new membership requests handled? (Int: 0, 1, 2, 3) <br />Edit a group node for more information about these values.</p>
  <ul>
    <li><strong>0:</strong> Open</li>
    <li><strong>1:</strong> Moderated</li>
    <li><strong>2:</strong> Invite Only</li>
    <li><strong>3:</strong> Closed</li>
  </ul>
</li>
<li><strong>Description</strong><br />The group description used in the group directory listing (String)</li>
<li><strong>Show on user registration form?</strong><br />Show on the public user registration form? (Boolean: 0 or 1)</li>
</ul>

<h4>Locale</h4>

Additional settings provided when <strong>Locale</strong> module is enabled:

<ul>
<li><strong>Language</strong><br />Leave blank for default (String)</li>
</ul>

<h4>OG Access Control</h4>

Additional settings provided when <strong>OG Access Control</strong> module is enabled:

<ul>
<li><strong>Private Group</strong><br />Should this group be private? (Boolean: 0 or 1) <br />A group can only be private if <strong>List in Directory</strong> is disabled (0).</li>
</ul>