Skip to main content

A Plone product that change the standard Plone behaviour of the "Display" menu

Project description

Introduction

This product can change the behaviour of the Plone’s “Display” menu, making it a little customizable. Those customization are not content type related, but are done for a single content.

For every specific content of the portal:

  • You can block ability of your authors to change content’s layouts.

  • You can add custom, additional, views to a content.

  • You can hide all standard available layout for a content, leaving only the new customized ones.

The menu customization form

User cases

Why freeze the content layout?

Sometimes you need to apply a new view to a single content, like a folder. For example: you have a folder where you know is used only for News Item contents and you have a quite good view for this folder.

Registering this view for all Folder content types will give to your author the choice to use this view also in other section of the site, but you don’t want it. A views pollution in the “Display” menu can be confusing.

Why adding new entry in the menu

Keep in mind that you are adding new views to a single content of your site.

For example: you have developed a new view for the Page and you want optionally leave to your authors to use or not this view in the home-page sub-sections of your site.

Like above, registering this view for the Page content types will leave to authors the choice to use this view for all page of the site but, for design choice, you want to use this view only for some specific pages.

Why dropping base views

No much to say, may be you don’t want to inherit the content types views and don’t want that your authors are able to use them.

Simplification for developers

Behaviour described above can be reach also developing additional content types. However I found not very useful developing silly content type or marker interfaces only for obtaining additional layout.

If you like more older versions of ATCustomizableView

I got some (good) criticism about releases of ATCustomizableView that started to display Plone UI, even if those changes were in the TODO for a long time.

If you liked older versions, where you were forced to go to ZMI, simply remove to all user roles the Customize menu: view permission. Also to Manager.

After that you can continue working only using ZMI properties tab!

Installation

Add “Products.ATCustomizableView” to the egg section of your buildout configuration file.

For Plone versions 3.2 or lower, remember the zcml section:

zcml =
    ...
    Products.ATCustomizableView
    Products.ATCustomizableView-overrides

TODO

  • Thinking about moving to the approach used for redturtle.custommenu.factories, as soon as the per-object menu customization will be moved out of the product.

Changes

0.4.1 (2011-01-31)

  • Found a missing import of IBrowserMenu (I know… I need tests) [keul]

0.4.0 (2011-01-31)

  • Removed a reference to unknow method “getSavedCustomizations”. This remove a warning on Zope start-up [keul]

  • Added doc guide fo user that wanna to keep the ATCustomizable features only for ZMI [keul]

  • Added a way for changing layout and template [keul]

  • Bad bug: the product was checking a wrong permission name [keul]

  • Customize menu view was not callable on non-folderish contents [keul]

0.3.1 (2011-01-10)

  • Bad identation; menu will raise error if the product is not installed [keul]

0.3.0 (2011-01-09)

  • Egg cleanup [keul]

  • Fixed dependency in the product [keul]

  • Product is now installable [keul]

  • Do not apply patches if the product is not installed [keul]

  • Added friendly Plone UI for managing configurations [keul]

  • Translations (for now in Italian, other are welcome) [keul]

  • Tested also on Plone 4 [keul]

0.2.0 (2009-08-11)

  • Forget Plone 2.5 support.

  • No more ugly-old-style monkey patch, but now collective.monkeypatcher is required. [keul]

  • Added controls on selectable views. [keul]

0.1.0 (2009-02-07)

  • Initial releases

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

Products.ATCustomizableView-0.4.1.tar.gz (18.3 kB view details)

Uploaded Source

Built Distributions

Products.ATCustomizableView-0.4.1-py2.6.egg (26.7 kB view details)

Uploaded Source

Products.ATCustomizableView-0.4.1-py2.4.egg (26.8 kB view details)

Uploaded Source

File details

Details for the file Products.ATCustomizableView-0.4.1.tar.gz.

File metadata

File hashes

Hashes for Products.ATCustomizableView-0.4.1.tar.gz
Algorithm Hash digest
SHA256 a68c17837f45f73d5fcbea20ce5b7ccc9ca1b871c914c47cdff82966bf8e1334
MD5 d225eb2a1c65791ce81465daecc91236
BLAKE2b-256 54b893a91b4cb1bf3dc3a10e2d377594c34df86bf584d2beb7259b7019c336b0

See more details on using hashes here.

File details

Details for the file Products.ATCustomizableView-0.4.1-py2.6.egg.

File metadata

File hashes

Hashes for Products.ATCustomizableView-0.4.1-py2.6.egg
Algorithm Hash digest
SHA256 4fc261ed756d292e95df18574bf3d43c5cdf9453f9b2ccb0877c8077caccfb94
MD5 4269b0590c2846abc6170eb2e413b813
BLAKE2b-256 f9666990b2b84cf4811c2ee5263ac771c9f2b6248da592fbbff96af6fc1ecafe

See more details on using hashes here.

File details

Details for the file Products.ATCustomizableView-0.4.1-py2.4.egg.

File metadata

File hashes

Hashes for Products.ATCustomizableView-0.4.1-py2.4.egg
Algorithm Hash digest
SHA256 b6275739d97c7834c6d133e5f99f8dbe3e715e701d309b185a31145581a2485a
MD5 26a0a4f2af87f4d187e35445fb5a066e
BLAKE2b-256 f69775d55172ed80b528b80c8abe0b50b28a917386c3d8af439964bab65a4802

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