An add-on for Plone that lets you hide a Document's description
Project description
Adds a Document view template that hides the summary (description).
Features
uninstalls cleanly
Documentation
After you activate this add-on, every page (“Document” content type) on your site will have a new Display menu choice “Hide Summary”.
Beware: deactivating and/or removing this add-on will result in errors on pages (Documents) that you set to use the “Hide Summary” view. To fix those pages, you must invoke selectViewTemplate on each page and specify the default document_view, e.g.
http://localhost:8080/Plone/my-page/selectViewTemplate?templateId=document_view
Alternatively, you can use the Management Interface on each such page, e.g.
http://localhost:8080/Plone/my-page/manage_propertiesForm
and delete the property named “Layout”.
Translations
This product has not been translated.
Installation
Install collective.document_hide_summary by adding it to your buildout:
[buildout] ... eggs = collective.document_hide_summary
and then running bin/buildout
Contribute
License
The project is licensed under the GPLv2.
Contributors
Kim Nguyen, kim.nguyen@wildcardcorp.com
Changelog
1.0 (2016-11-25)
Add warning about deactivating or removing the add-on, and how to fix pages that were set to use the Hide Summary view. [tkimnguyen]
Initial release. [tkimnguyen]
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Hashes for collective.document_hide_summary-1.0.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | d9a29b2328319a961bb9bf5cc7bfbfe4cf61962535b4eb1edf7e5b173ca4d19a |
|
MD5 | 6fbbaacb382b906d725ecd2dc62a6bb4 |
|
BLAKE2b-256 | 04b825346864c008203777b3f02b093487fb6e511dbfea01318624db8627849f |