Skip to main content

Configurable viewlet manager

Project description

Introduction

by Florian Schulze <fschulze@jarn.com>.

This component expects you to register storage.ViewletSettingsStorage as a local utility providing IViewletSettingsStorage (CMFPlone does this). The viewlet manager in manager.OrderedViewletManager can then get the filter and order settings. These settings can be configured by 3rd party products and TTW to customize the viewlets per skin.

Changelog

5.0.0 (2026-05-16)

Internal:

  • Update configuration files. [plone devs]

5.0.0a1 (2025-11-19)

Breaking changes:

  • Replace pkg_resources namespace with PEP 420 native namespace. Support only Plone 6.2 and Python 3.10+. (#3928)

4.0.5 (2025-09-11)

Internal:

  • Move distribution to src layout [gforcada] (#4217)

4.0.4 (2025-01-24)

Bug fixes:

  • Fix DeprecationWarnings. [maurits] (#4090)

4.0.3 (2023-08-03)

Bug fixes:

  • Fix styles when toolbar is on top. [petschki] (#29)

  • Only show one Hide or Show button per viewlet on the manage-viewlets page. Make it clear that a viewlet is hidden by making it more subdued / opaque. [maurits] (#3831)

Internal:

  • Update configuration files. [plone devs] (cfffba8c)

4.0.2 (2023-05-22)

Bug fixes:

  • Remove transitive circular dependency on plone.app.vocabularies. [@jensens] (fix-circular-dependency)

4.0.1 (2023-03-22)

Internal:

  • Update configuration files. [plone devs] (b2d5d4a5)

4.0.0 (2022-11-14)

Bug fixes:

  • Improve manage-viewlets usability. [petschki] (#27)

4.0.0b1 (2022-09-07)

Breaking changes:

  • Update markup due to disabled Diazo rules for this view. This change breaks compatibility with Plone 5 because it makes it look ugly. [santonelli] (#26)

3.1.3 (2022-07-18)

Bug fixes:

  • Change default message for i18n msgid [erral] (#25)

3.1.2 (2021-06-30)

Bug fixes:

  • tweak wording (“unhide” vs. “show” viewlets), remove old Trac reference (#23)

3.1.1 (2020-04-20)

Bug fixes:

  • Minor packaging updates. (#1)

3.1.0 (2019-06-27)

New features:

  • Add support for Python 3.8 [pbauer] (#21)

3.0.1 (2019-06-19)

Bug fixes:

  • Fix deprecation warning importing ZPublisher.Retry (#19)

3.0.0 (2018-11-02)

Breaking changes:

  • Discontinue Python 2.6 support. [jensens]

Bug fixes:

  • More Python 2 / 3 compatibility [ale-rt, pbauer]

  • Start making code flake8 compliant [ale-rt]

  • Tests are compliant with Products.GenericSetup >= 2.0

  • Fix TypeErrors when comparing some viewlet-types in py3. [pbauer]

2.0.11 (2018-01-30)

Bug fixes:

  • Add Python 2 / 3 compatibility [jensens]

2.0.10 (2016-08-10)

Fixes:

  • Use zope.interface decorator. [gforcada]

  • Correctly log exception if viewlet rendering failed. [jensens]

2.0.9 (2015-09-07)

  • Fix manage-viewlets for Plone 5 [pbauer]

2.0.8 (2015-04-29)

  • Rename _uncatched_errors to _exceptions_handled_elsewhere [jean]

2.0.7 (2015-03-13)

2.0.6 (2014-07-10)

  • Use the !important directive for the .hide and .show CSS declarations on the @@manage-viewlets view. Twitter Bootstrap is using !important on these class names too, which made the viewlet management view unusable. [thet]

2.0.5 (2014-02-23)

  • Do not catch conflict errors and keywordinterrupt in viewlet manager. We can programmatically setup the exceptions that are not caught. [thomasdesvenain]

  • If render fails, be more verbose about the exception to know where and how it happens in the stack. [kiorky]

  • refactor JS in template. [petschki]

2.0.4 (2013-08-13)

  • Handle exception during viewlet rendering process: log the exception and display an error message. [toutpt]

2.0.3 (2012-12-15)

  • Hiding viewlets for skinname="*" was not working properly. Closes http://dev.plone.org/plone/ticket/10903 [garbas, WouterVH]

  • Add plone.app.vocabularies as dependency to get the list of existing skins. [WouterVH]

  • Add MANIFEST.in. [WouterVH]

2.0.2 - 2011-01-11

  • Depend on Products.CMFPlone instead of Plone. [elro]

  • Explicitly unregister IViewletSettingsStorage utility to prevent test bleed. [esteele, cah190]

2.0.1 - 2010-07-18

  • Update license to GPL version 2 only. [hannosch]

2.0 - 2010-07-15

  • Silence Nothing to import / export. log messages. [hannosch]

2.0b5 - 2010-06-03

  • Removed duplicated class statement in manage-viewlets.pt for compatibility with Chameleon. [pilz]

2.0b4 - 2010-05-01

  • Implement IViewView so viewlets registered to this interface can be managed. [elro]

  • Use Unicode up/down arrows in @@manage-viewlets. [esteele]

2.0b3 - 2010-03-03

2.0b2 - 2010-02-17

2.0b1 - 2009-12-27

  • Use the new zope.site package. [hannosch]

2.0a2 - 2009-12-16

2.0a1 - 2009-11-14

  • Added translations for Show/Hide labels in @@manage-portlets view: label_show_item and label_hide_item. These msgids are shared with @@manage-viewlets view to show/hide viewlets. This closes http://dev.plone.org/plone/ticket/9733 [naro]

  • Use JS calls to handle show/hide/move actions instead of forcing a page reload. Will fall back to old method if JavaScript is not available. [esteele]

1.2.2 - 2009-03-07

  • Specified package dependencies. [hannosch]

  • Made the manager code more tolerant and not fail when no storage is found. [hannosch]

  • Made the @@manage-viewlets screen use the ‘managedPortlet’ CSS class instead of ‘portlet’, so it’s more usable with a custom theme. This closes http://dev.plone.org/plone/ticket/8391. [davisagli]

1.2.1 - 2008-07-07

  • Fixed bogus AttributeError masking the real ExpatError on syntax errors in viewlets.xml. (See test in r21161.) [davisagli]

1.2 - 2008-03-09

  • Separated the base functionality and the parts necessary for TTW customization into two classes, so we can use this manager in the html head. [fschulze]

  • Fix a syntax error in the export/import code [wichert]

  • Add a HISTORY.txt file [wichert]

1.0 - 2007-08-16

  • 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

plone_app_viewletmanager-5.0.0.tar.gz (28.5 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

plone_app_viewletmanager-5.0.0-py3-none-any.whl (20.7 kB view details)

Uploaded Python 3

File details

Details for the file plone_app_viewletmanager-5.0.0.tar.gz.

File metadata

  • Download URL: plone_app_viewletmanager-5.0.0.tar.gz
  • Upload date:
  • Size: 28.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.14.2

File hashes

Hashes for plone_app_viewletmanager-5.0.0.tar.gz
Algorithm Hash digest
SHA256 0ca59f2a0466022f0b21337a1f9080e39b8ac83740b7d80b49cad0c1245ec2f2
MD5 ba767ea622b07701ae2f2ef917910691
BLAKE2b-256 232b1d5a91849166af03885568998731efea5af70826c689a5c6dfe63633d396

See more details on using hashes here.

File details

Details for the file plone_app_viewletmanager-5.0.0-py3-none-any.whl.

File metadata

File hashes

Hashes for plone_app_viewletmanager-5.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 d2b49c0db8c441ad61bfedf1ff597cd96b78148d1af08f0de302e04d1ebf893a
MD5 956cc0cb434767adffe157aeb63e00eb
BLAKE2b-256 c1ec7cc18a03d4143c49d36ce8ad1dc20c0dafcb17403a58b1287a68b7ed784c

See more details on using hashes here.

Supported by

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