Skip to main content

Provides a behavior to conditionally exclude an object from a Plone Collection.

Project description

https://github.com/collective/collective.excludefromcollection/actions/workflows/plone-package.yml/badge.svg Coveralls https://codecov.io/gh/collective/collective.excludefromcollection/branch/master/graph/badge.svg Latest Version Egg Status https://img.shields.io/pypi/pyversions/collective.excludefromcollection.svg?style=plastic:alt:Supported-PythonVersions License

collective.excludefromcollection

Provides a behavior to conditionally exclude an object from a Plone Collection.

Usage

A user can check exclude_from_collection in settings tab of a any content type who has the exclude_from_collection behavior enabled. In any Plone Collection one can then add a Exclude from Collection filter to filter for that flag.

Translations

This product has been translated into:

  • english

  • german

Installation

Install collective.excludefromcollection by adding it to your buildout:

[buildout]

...

eggs =
    collective.excludefromcollection

and then running bin/buildout

Authors

Provided with love by Derico

Contributors

Put your name here, you deserve it!

  • ?

Contribute

Support

If you are having issues, please let us know and open a issue or contact us on Plone Discord channel.

License

The project is licensed under the GPLv2.

Contributors

Changelog

1.2 (2022-04-14)

  • Return False when exclude_from_collection is not present on context [MrTango]

1.1 (2022-04-11)

  • Improve query string registration and update translations {MrTango]

1.0 (2022-04-11)

  • Initial release. [MrTango]

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

collective.excludefromcollection-1.2.tar.gz (19.2 kB view hashes)

Uploaded Source

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page