An add-on for Plone that lets you hide a Document's description
Project description
Adds Document view templates that hides the title, or the summary (description), or both the title and the summary.
Features
uninstalls cleanly
Documentation
After you activate this add-on, every page (“Document” content type) on your site will have new Display menu choices “Hide Title”, “Hide Summary”, and “Hide Title and 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.1 (2016-11-28)
add views “Hide Title” and “Hide Title and Summary” [tkimnguyen]
1.0 (2016-11-25)
Fix PyPi trove classifier [tkimnguyen]
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.1.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 832203a092bd13c4dc0a1e1a2dea8b8bbe6b371e5479decc3b9924d76964fbef |
|
MD5 | cc57e63ae2026a1c3073ec6a52d38ee4 |
|
BLAKE2b-256 | e68494511822bbc8187a8af52812d83ca440442c3f8bb4077fd45ce6968f2e34 |