Use-case: User having a single "Family" relationship type to join all family members.
- Membership type is created with "Family" rel type.
- Father is connected to Child with this rel type.
- Similarly, Mother is connected to Child with the same relationship type.
- When a membership is created on father's contact, this is inherited to Mother and Child's contact.
- Now, when a relationship is created between Mother and Father (same rel type), the membership is duplicated on Mother and Child.
- This extension is to prevent such duplicates to be created, i.e -
- Before creating the inherited membership, it avoid the creation if the contact already has an inherited membership of same type.
The extension is licensed under AGPL-3.0.
- PHP v7.0+
- CiviCRM
This extension has not yet been published for installation via the web UI.
Sysadmins and developers may download the .zip
file for this extension and
install it with the command-line tool cv.
cd <extension-dir>
cv dl nz.co.fuzion.duplicatemembership@https://github.com/fuzionnz/nz.co.fuzion.duplicatemembership/archive/master.zip
Sysadmins and developers may clone the Git repo for this extension and install it with the command-line tool cv.
git clone https://github.com/fuzionnz/nz.co.fuzion.duplicatemembership.git
cv en duplicatemembership
It works on all membership types. A possible improvement will be to configure this on Membership type form.