You are here

README.txt in Party 7

Introduction
------------

The Party module provides an extremely flexible CRM solution for Drupal, utilizing
a generic entity (the Party entity) to which other entities (Drupal Users, Nodes,
Profile2 profiles, eCommerce customers, Facebook profiles, etc.) can be attached.

Requirements
------------

PHP 5.3
Drupal greater than 7.14
Dependencies:
 - Entity API
 - CTools
 - Views

Installation
------------

Install and enable the Party module as usual. For a typical installation, the
following Party sub-modules should also be enabled:
  - Party Hat
  - Party Profile
  - Party User

You should then:
  - create profile types at admin/structure/profiles
  - create Hats at admin/community/hats

Overview
========

What follows is a brief overview of some of the concepts used in Party. For
more detail, see the Party documentation at http://drupal.org/node/1600330.

The Party
---------

The Party entity is simply a wrapper around other entities representing whatever,
e.g. a Drupal User, CiviCRM Constituent, Facebook account, eCommerce Customer,
Employee profile, etc. A Party may wrap one or more such entities.

A Party can represent an individual or an organization (multiple individuals).
Entity relations are typically used for managing the individual/organization relationship.

A Party entity does not have bundles and normally has no fields, except those used
by the core Party module for tracking the entity attachments, or special purpose
custom modules that enhance party core.


Data Sets
---------

Data sets define where a Party's data is stored. A data set specifies a particular
entity type which may be connected to a party. This may be an entity type provided
by another module, or one defined along with the data set.

Party provides submodules that define data sets for:

- profile2, one data set per type
- user accounts
- commerce module customer profiles

Hats
----

Instead of having bundles, a party can have multiple hats, which can be changed
over time. Each hat allows the party to use one of more data sets.

Hats are organized in hierarchies, with the root level of the hierarchy
normally being occupied by either the 'Group' Hat or 'Individual' Hat. Hats can
be created in code or through the Party UI.

A hat hierarchy for a library might look like:

Individual
--Library Patron
--Donor
--Employee
----Exempt Employee
----Non-exempt Employee
----Volunteer Employee
Group
--Publisher
----Periodicals Publication Publisher
----Books Publication Publisher
----Reference Publications Publisher
--Department
----Administration
----Circulation
----Information Technology
----Legal
----Accounting
----HR

Party Labels
------------

When a party is created in the system, whether manually or programmatically, a
label is generated for it. It is possible to specify how this label is generated
by configuring any number of 'Party Name Label' plugins. Under 'Label Plugins'
in the Party configuration menu, you can sort and modify settings for these
plugins. For example, the 'attached entity field' label plugin will allow you
to use a field from a data set to use for the label - thus a 'Name' field on an
attached profile2 entity could be used. The sorting allows you to choose in
which order these labels are applied - thus, for parties that do not have
attached users, username will not work, but the pid example will.

To create your own Party Label plugins, refer to the Developer Documentation Section.

File

README.txt
View source
  1. Introduction
  2. ------------
  3. The Party module provides an extremely flexible CRM solution for Drupal, utilizing
  4. a generic entity (the Party entity) to which other entities (Drupal Users, Nodes,
  5. Profile2 profiles, eCommerce customers, Facebook profiles, etc.) can be attached.
  6. Requirements
  7. ------------
  8. PHP 5.3
  9. Drupal greater than 7.14
  10. Dependencies:
  11. - Entity API
  12. - CTools
  13. - Views
  14. Installation
  15. ------------
  16. Install and enable the Party module as usual. For a typical installation, the
  17. following Party sub-modules should also be enabled:
  18. - Party Hat
  19. - Party Profile
  20. - Party User
  21. You should then:
  22. - create profile types at admin/structure/profiles
  23. - create Hats at admin/community/hats
  24. Overview
  25. ========
  26. What follows is a brief overview of some of the concepts used in Party. For
  27. more detail, see the Party documentation at http://drupal.org/node/1600330.
  28. The Party
  29. ---------
  30. The Party entity is simply a wrapper around other entities representing whatever,
  31. e.g. a Drupal User, CiviCRM Constituent, Facebook account, eCommerce Customer,
  32. Employee profile, etc. A Party may wrap one or more such entities.
  33. A Party can represent an individual or an organization (multiple individuals).
  34. Entity relations are typically used for managing the individual/organization relationship.
  35. A Party entity does not have bundles and normally has no fields, except those used
  36. by the core Party module for tracking the entity attachments, or special purpose
  37. custom modules that enhance party core.
  38. Data Sets
  39. ---------
  40. Data sets define where a Party's data is stored. A data set specifies a particular
  41. entity type which may be connected to a party. This may be an entity type provided
  42. by another module, or one defined along with the data set.
  43. Party provides submodules that define data sets for:
  44. - profile2, one data set per type
  45. - user accounts
  46. - commerce module customer profiles
  47. Hats
  48. ----
  49. Instead of having bundles, a party can have multiple hats, which can be changed
  50. over time. Each hat allows the party to use one of more data sets.
  51. Hats are organized in hierarchies, with the root level of the hierarchy
  52. normally being occupied by either the 'Group' Hat or 'Individual' Hat. Hats can
  53. be created in code or through the Party UI.
  54. A hat hierarchy for a library might look like:
  55. Individual
  56. --Library Patron
  57. --Donor
  58. --Employee
  59. ----Exempt Employee
  60. ----Non-exempt Employee
  61. ----Volunteer Employee
  62. Group
  63. --Publisher
  64. ----Periodicals Publication Publisher
  65. ----Books Publication Publisher
  66. ----Reference Publications Publisher
  67. --Department
  68. ----Administration
  69. ----Circulation
  70. ----Information Technology
  71. ----Legal
  72. ----Accounting
  73. ----HR
  74. Party Labels
  75. ------------
  76. When a party is created in the system, whether manually or programmatically, a
  77. label is generated for it. It is possible to specify how this label is generated
  78. by configuring any number of 'Party Name Label' plugins. Under 'Label Plugins'
  79. in the Party configuration menu, you can sort and modify settings for these
  80. plugins. For example, the 'attached entity field' label plugin will allow you
  81. to use a field from a data set to use for the label - thus a 'Name' field on an
  82. attached profile2 entity could be used. The sorting allows you to choose in
  83. which order these labels are applied - thus, for parties that do not have
  84. attached users, username will not work, but the pid example will.
  85. To create your own Party Label plugins, refer to the Developer Documentation Section.