collective.person
provides a content type representing a Person.
Person
: A content type representing a person
name | title | description |
---|---|---|
collective.person.person |
Person Behavior | Fields with basic person information |
collective.person.user |
Link Person to Plone User | Adapts a Person to link it to a Plone User |
collective.person.namefromusername |
Name from username | Use the username field as name (basis for the id) |
id | title | Usage |
---|---|---|
collective.person.person.add | collective.person: Add Person | Control the creation of a new Person content item |
This package adds Indexes and Metadata to Portal Catalog.
Content Attribute | Index Type | Metadata | Comment |
---|---|---|---|
roles | KeywordIndex | ✅ | -- |
username | FieldIndex | ✅ | Used when collective.person.user behavior is enabled |
This package is being used by the following sites:
- TODO
Add collective.person
as a dependency on your package's setup.py
install_requires = [
"collective.person",
"Plone",
"plone.restapi",
"setuptools",
],
Also, add collective.person
to your package's configure.zcml
(or dependencies.zcml
):
<include package="collective.person" />
To automatically enable this package when your add-on is installed, add the following line inside the package's profiles/default/metadata.xml
dependencies
element:
<dependency>profile-collective.person:default</dependency>
We welcome contributions to collective.person
.
You can create an issue in the issue tracker, or contact a maintainer.
You need a working Python environment version 3.8 or later.
Then install the dependencies and a development instance using:
make install
By default, we use the latest Plone version in the 6.x series.
make i18n
make format
make test
The project is licensed under GPLv2.