Interfaces and behaviors for a family of datatypes, based on zope.schema and Dexterity.
- IHeightAndWidth
Provides the integer fields
height
andwidth
- ICaptionAndLegend
Provides the text fields
caption
andlegend
(e.g. for image types)- IExcludeFromSearch
Provides a boolean field
excludeFromSearch
, aimed for selective exclusion of objects from standard catalog searches- IHierarchicalBuzzword
This is quite incomplete; the provided ASCIILine field
code
is aimed for the implementation of a hierarchical buzzword index. The vocabulary is still to be implemented; the factory of this behavior will likely be (re-) implemented in another package.
This add-on can be seen in action at the following sites:
Sorry, we don't have real user documentation yet.
This package won't normally be installed on its own. Add it to the requirements of your package in which you intend to use one or more of its behaviors (in setup.py
):
setup(...
install_requires=[
'setuptools',
...
'visaplan.plone.behaviors',
],
...)
and add the behaviors you need to the list in the FTI file of your Dexterity-based type.
- Issue Tracker: https://github.com/visaplan/plone.behaviors/issues
- Source Code: https://github.com/visaplan/plone.behaviors
If you are having issues, please let us know; please use the issue tracker mentioned above.
The project is licensed under the GPLv2.