Skip to main content

Extends features and shown data in Plone document byline section

Project description

Enhance the Plone adding an additional information on document view: the user who performed the last change and the change note. Optionally expands the document byline section showing those informations.

Documentation

Plone already handle lot of infos in the document byline section, like the document author, the modification date and the publication date.

In the same way new data added by this add-on will be added to the byline section.

Document byline preview in the Plone 4.3 style

When the new byline informations are shown?

New infos apart, all byline elements can now be controlled with a granular security configuration. This will change the way to handle document byline because commonly Plone simply use a couple of site-wide options: the allow_anon_views_about and the displayPublicationDateInByline.

The viewlet will now handle many different informations: author, last modifier, publication date, modification date and last versioning change note. Each information is visible if the user has a specified permission:

  • rt.lastmodifier: documentByLine view author

  • rt.lastmodifier: documentByLine view last modifier

  • rt.lastmodifier: documentByLine view modification date

  • rt.lastmodifier: documentByLine view publication date

  • rt.lastmodifier: documentByLine view change note

To show last modifier info, Creator and Modifier must be not equals (just for not show a duplicate link).

By default Anonymous users can’t see anything (this will reproduce the Plone default behavior, where Anonymous can’t see the byline section by default).

Show change notes

This feature will show the comment to changes you did, that commonly are kept in the history section so this only works for content type where versioning is activated.

The editor must explicitly choose if a change note must be putted in the byline section by selecting the “Show the changes note in document info” checkbox. This will store that change note to be shown in the content, that means that additional changes without checking the option will not update that information.

New change note section

To delete the change note shown you must edit a document, provide an empty note while keeping the check selected.

Note: this feature require JavaScript to work properly and has only be tested for Archetypes based content types.

Installation

Add rt.lastmodifier to your buildout:

[buildout]
...

[instance]
...
eggs=
   ...
   rt.lastmodifier

After that, install the “rt.lastmodifier” add-on product.

Compatibility

All Plone versions from 3.3 to 4.3.

Credits

Developed with the support of:

All of them supports the PloneGov initiative.

Authors

This product was developed by RedTurtle Technology team.

RedTurtle Technology Site

Changelog

0.6.0 (2015-07-28)

  • Fixed italian translation typo [keul]

  • Now save last modifier info in a low level annotation. This way we can have this information also when the content type do not use any versioning support (that is still the fallback) [keul]

  • Do not, never, display any byline on site root. It’s totally useless [keul]

0.5.0 (2015-02-16)

  • When visiting folders, show last modifier and modification date taken by most recent child document, not from folder itself [keul]

0.4.1 (2014-09-30)

  • Fixed issue in calling @@manage-viewlets, and generally accessing site root [keul]

  • Fixed typo in italian translation [keul]

0.4 (2014-07-17)

  • New feature for showing the last change note on versionable contents. User must explicitly mark the change has “showable” [keul]

0.3.1 (2014-02-25)

  • Fixed default roles: do not use Authenticated but Member [keul]

0.3 (2014-02-12)

  • Added new permissions to handle the view of single infos in the viewlet: author, last modifier, publication date and modified date [cekk]

  • fixed bug: last modifier was never shown to anonymous users in Plone 4 (#1) [keul]

0.2 (2013-04-17)

  • Renamed the product from “collective.lastmodifier” to “rt.lastmodifier”. This is unbelievable and embarassing, but I didn’t find collective.lastmodifier when I looked for a Plone product with those features… and in the end I choosed the same name! However the original product is using a different approach.

  • Added collection criteria (for new and old ones)

0.1 (Unreleased)

  • Initial release

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

rt.lastmodifier-0.6.0.tar.gz (26.8 kB view details)

Uploaded Source

File details

Details for the file rt.lastmodifier-0.6.0.tar.gz.

File metadata

File hashes

Hashes for rt.lastmodifier-0.6.0.tar.gz
Algorithm Hash digest
SHA256 c887aa58a70143969d80f53ded8fbf149e1762024df176adde863d6e32b084d3
MD5 e34efaa904cb94586c00cdcafe2900df
BLAKE2b-256 15f427c0fd4b66237c7ec85333d31a46ef53b7c6056f6cd6db28d582a78c3584

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