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.
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.
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.3.1 (2010-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
Built Distributions
Hashes for Products.ATCustomizableView-0.3.1.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | c524f3743583ed4bdd7946288f6209a3e1ec98aae0b8325eb77a429184d92593 |
|
MD5 | 09ad6631b58010d2504495c08be7871d |
|
BLAKE2b-256 | d7142dc18532dad0a834e4d945f649f02aebaabf33cb80927f853945be12d8d1 |
Hashes for Products.ATCustomizableView-0.3.1-py2.6.egg
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5c5339236d17fd1804e61eb9f339357a08bcc5ff5bc5116c9eade1c5a4af9af7 |
|
MD5 | f28a818831697fbfe602a340acdec6e5 |
|
BLAKE2b-256 | 5f9f2b765e8dff28070dc414008ad59572639115379a034e95fc5769fbc945c5 |
Hashes for Products.ATCustomizableView-0.3.1-py2.4.egg
Algorithm | Hash digest | |
---|---|---|
SHA256 | b994152a19e09286497018790ba1f3b55d3881bee2054c24a8b4397a571a24c3 |
|
MD5 | 8561467dd94bbb64282a4becc9ad7587 |
|
BLAKE2b-256 | 0b78c73809f659aad524dcae57d18c82364d8d8e2a6a07ae1346fb88fe2a84f3 |