Skip to main content

Adds metadata functionality to portlets

Project description

collective.portletmetadata

About

collective.portletmetadata is a collection of patches that makes it possible edit settings for each portlet assignment. We denote these settings for metadata thereby the name of the product.

Out of the box the product provides the following features:

  • Possibility for creating local portlets, i.e. portlets that will not be inherited even though child settings imply so.

  • Possibility for adding a CSS class for a portlet assignment. These are defined in the controlpanel (stored in registry). Since version 1.6 you can add any CSS classes (for example from Bootstrap) in a portlet, without first defining it in the control panel. This is restricted by a permission, so if you do not like this, you can take this permission away from some roles. The field for choosing a pre-defined class is always available.

  • Possibility for excluding a portlet from being indexed by Google.

Plone version compatibility

  • Version 2.0: Plone 6 only.

  • Version 1.5: Plone 5 and 6

  • Version 1.3: Plone 5

  • Version 1.2: Plone 4.3

Usage

Whenever the product is installed a “*” will be visible in the @@manage-portlets view for each assignment. Whenever the user selects this option, he/she can edit the metadata as described above.

See a short guide here.

Author

Maintainer

Changes

2.0.0 (2023-12-14)

  • Drop support for Plone 5.

1.6.0 (2023-12-14)

  • Add field “Custom CSS classes”. You can use this to freely add any (Bootstrap) classes, on top of the CSS classes made available in the control panel. The new field and the existing control panel are now only available when you have the new “Portlets: Manage metadata” permission. By default Manager and Site Administrator have this. Previously only a Manager could access the control panel and make CSS classes available. [maurits]

1.5.0 (2022-09-08)

  • Make our patches have no effect when the product is not activated. Until now, when a portlet was marked as local, it was still invisible elsewhere when the product was deactivated, and you could no longer change the setting. [maurits]

  • Fix uninstall to remove our registry settings. [maurits]

  • Have a different template override for edit manager macros on Plone 6. This uses Bootstrap 5 classes. [maurits]

  • Fix ImportError on Plone 6, for isDefaultPage. [maurits]

1.4.1 (2022-03-14)

  • Fix Plone 5.0 support by downgrading the minimum plone.app.portlets version to be 3.0.0. The 3.x series of plone.app.portlets is the version used by Plone 5.0. [JeffersonBledsoe]

1.4 (2022-01-05)

  • Fix for Plone 5.2 and Python 3 compatibility. Should still work on Plone 5.0 and between as well. [maurits]

1.3 (2018-01-17)

  • Fix case in managing groups-and contenttype-portlets when the query-string is no longer in the request. [kroman0, pbauer]

  • Plone 5 compatibility - this release requires plone 5 (p.a.portlets >= 4.0.0) [sunew]

  • uninstall profile [sunew]

1.2 (2014-04-22)

  • Allow class|descriptive title as format in the control panel. When this format is used, we show the title in de portlet metadata edit form. A simple class is of course still supported. [maurits]

  • Support the local portlet checkbox for ContentWellPortlets. [mauritsvanrees]

1.1 (2014-03-13)

  • Backported local portlets functionality [bosim]

  • Override Products/ContentWellPortlets/browser/templates/renderer.pt [mauritsvanrees]

1.0 (2013-12-29)

Initial release

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.portletmetadata-2.0.0.tar.gz (17.3 kB view details)

Uploaded Source

Built Distribution

collective.portletmetadata-2.0.0-py3-none-any.whl (22.5 kB view details)

Uploaded Python 3

File details

Details for the file collective.portletmetadata-2.0.0.tar.gz.

File metadata

File hashes

Hashes for collective.portletmetadata-2.0.0.tar.gz
Algorithm Hash digest
SHA256 e39fc84847997cf87cebc3ae852a673951405fcf4cd6bf01a9125933cd8fa17c
MD5 e28194b1894e6c9f43d82d566237ddb3
BLAKE2b-256 5a511fbcf03637905dec3421009a33d2890184ac39f8f1de20ec156ff8022e2b

See more details on using hashes here.

File details

Details for the file collective.portletmetadata-2.0.0-py3-none-any.whl.

File metadata

File hashes

Hashes for collective.portletmetadata-2.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 3bae62147937f4ce4bd35baf93bab501c74a7e602c5a3647f4fe62ed036dc9da
MD5 7aa88b420663dfb644fb9006a3646fd8
BLAKE2b-256 decd9b9f05488c08b282e9031c35f63b967696761db7ace10c0f0b6c2cc772d9

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