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 details)

Uploaded Source

File details

Details for the file collective.excludefromcollection-1.2.tar.gz.

File metadata

  • Download URL: collective.excludefromcollection-1.2.tar.gz
  • Upload date:
  • Size: 19.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.2 importlib_metadata/4.6.3 pkginfo/1.7.1 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.62.0 CPython/3.9.2

File hashes

Hashes for collective.excludefromcollection-1.2.tar.gz
Algorithm Hash digest
SHA256 642bf609048749559f6cff8559722984c5bf4f79051a8914443ed6f16dabe71c
MD5 46fec92dc1cee06b30e9783ada761132
BLAKE2b-256 1bdaec8b46b2067ba332555ee76bcb44085994bb44a4d115ce59192ff98a19ec

See more details on using hashes here.

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