Skip to main content

What does it do?

This Plone addon allows editors to control the visibility of portlet columns - no matter if they are empty or contain portlets.

Editors can choose between:

  • showing a column (even if it does not contain any portlets)

  • hiding a column (even if it contains portlets)

  • only show non-empty columns (standard Plone behaviour)

How does it work?

wm.showhidecolumns uses infrastructure available in Plone 4:

the request variables disable_plone.rightcolumn and disable_plone.leftcolumn are used to control the column visibilty. (no portletmanagers get overwritten or monkey-patched).

archetypes.schemaextender is used to make the settings available on all types implementing wm.showhidecolumns.interfaces.IControlColumns

plone.browserlayer is used to make sure the extra fields and the viewlet that adds the request variables only show up if the product is installed.

How do I use it?

To allow control column visibilty on custom content types just make them implement wm.showhidecolumns.interfaces.IControlColumns.

How can I help?

  • Add translations for your language (currently English and German)

  • Add support for Dexterity content types

  • Add tests

  • report bugs or request features in the issue tracker

Contributors

Harald Friessnegger, Author

Changelog

0.1 (2013-09-05)

  • make settings language-dependent so editors can decide to show/hide columns on single translated articles. [fRiSi]

0.1rc1 (2013-08-19)

  • initial release [fRiSi]

Metadata

Release files for wm.showhidecolumns 0.1

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

Source distribution (sdist)

Source distribution for wm.showhidecolumns 0.1
File Size Uploaded
wm.showhidecolumns-0.1.zip 27.8 kB Details

Release files / wm.showhidecolumns-0.1.zip

Download URL wm.showhidecolumns-0.1.zip
Size 27.8 kB
Tags Source
SHA-256 checksum
How to use checksums
807557ab9540ce195fff34706852d145c436b6a31f35616c6708f71ad38502f7
BLAKE2b-256 checksum
How to use checksums
9033d89ff3c0cae3e3c547c65af09515d18cb22d4638daa8d0641e589ab22e44
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release history Release notifications | RSS feed

This release

0.1 This release

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