Skip to main content

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

Release files for collective.portletmetadata 2.0.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for collective.portletmetadata 2.0.0
File Size Uploaded
collective.portletmetadata-2.0.0.tar.gz 17.3 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for collective.portletmetadata 2.0.0
File Interpreter ABI Platform
collective.portletmetadata-2.0.0-py3-none-any.whl Python 3 none any Details

Total release size: 39.8 kB

Release files / collective.portletmetadata-2.0.0.tar.gz

Download URL collective.portletmetadata-2.0.0.tar.gz
Size 17.3 kB
Tags Source
SHA-256 checksum
How to use checksums
e39fc84847997cf87cebc3ae852a673951405fcf4cd6bf01a9125933cd8fa17c
BLAKE2b-256 checksum
How to use checksums
5a511fbcf03637905dec3421009a33d2890184ac39f8f1de20ec156ff8022e2b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.11.4

Release files / collective.portletmetadata-2.0.0-py3-none-any.whl

Download URL collective.portletmetadata-2.0.0-py3-none-any.whl
Size 22.5 kB
Tags Python 3
SHA-256 checksum
How to use checksums
3bae62147937f4ce4bd35baf93bab501c74a7e602c5a3647f4fe62ed036dc9da
BLAKE2b-256 checksum
How to use checksums
decd9b9f05488c08b282e9031c35f63b967696761db7ace10c0f0b6c2cc772d9
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.11.4

Release history Release notifications | RSS feed

This release

2.0.0 This release

2 release files

1.6.0

2 release files

1.5.0

2 release files

1.4.1

2 release files

1.4

2 release files

1.3

1 release file

1.2

1 release file

1.1

1 release file

1.0

1 release file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page