Commit 66c19bf4 authored by Christian Wach's avatar Christian Wach
Browse files

Add instructions to README

parent c3fb5d93
......@@ -28,3 +28,19 @@ If you have downloaded *CiviCRM Network Groups* as a ZIP file from the GitLab re
###### git clone ######
If you have cloned the code from GitLab, it is assumed that you know what you're doing.
#### Setup ####
In order to use this plugin, you will need to create a number of "Groups" groups on the main site of your WordPress multisite instance. These groups should be synced to CiviCRM using the checkbox provided by the "CiviCRM Groups Sync" plugin.
Once you have created these, note down their IDs (as shown when you hover of their "Edit" links) and create an array of IDs in order of precedence. So, for example, if you created the following groups of decreasing precedence:
* National Leaders ("Groups" ID: 3)
* Regional Leaders ("Groups" ID: 5)
* Local Leaders ("Groups" ID: 6)
Then your array should look like:
`define( 'CIVICRM_NETWORK_GROUPS_PRECEDENCE', array( 3, 4, 6 ) );`
You should put this code into your `wp-config.php` file so that this plugin can read it.
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment