Skip to content

Adds a Document view template that hides the title, or the summary (description), or both the title and the summary

Notifications You must be signed in to change notification settings

collective/collective.document_hide_summary

 
 

Repository files navigation

collective.document_hide_summary

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

Acknowledgements

Credit for funding and open sourcing this add-on goes to David Brandse of Wireplant.com

License

The project is licensed under the GPLv2.

About

Adds a Document view template that hides the title, or the summary (description), or both the title and the summary

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Python 85.5%
  • RobotFramework 11.5%
  • Shell 3.0%