Package: rt.lastmodifier
Enhance the Plone adding an additional information on document view: theuser who performed the last changeand
thechange note.
Optionally expands thedocument bylinesection showing those informations.Table of contentsDocumentationWhen the new byline informations are shown?Disabling byline on content typesShow change notesInstallationCompatibilityCreditsAuthorsChangelog1.1.2 (2024-02-07)1.1.1 (2020-07-02)1.1.0 (2020-03-07)1.0.2 (2015-12-16)1.0.1 (2015-10-16)1.0.0 (2015-09-07)0.6.0 (2015-07-28)0.5.0 (2015-02-16)0.4.1 (2014-09-30)0.4 (2014-07-17)0.3.1 (2014-02-25)0.3 (2014-02-12)0.2 (2013-04-17)0.1 (Unreleased)DocumentationPlone 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.When the new byline informations are shown?New infos apart, all byline elements can now be controlled with agranular security configuration.
This will change the way to handle document byline because commonly Plone simply use a couple of
site-wide options: theallow_anon_views_aboutand thedisplayPublicationDateInByline.The viewlet will now handle many different informations:author,last modifier,publication date,modification dateandlast versioning change note.
Each information is visible if the user has a specified permission:rt.lastmodifier: documentByLine view authorrt.lastmodifier: documentByLine view last modifierrt.lastmodifier: documentByLine view modification datert.lastmodifier: documentByLine view publication datert.lastmodifier: documentByLine view change notert.lastmodifier: show long time formatTo show last modifier info,CreatorandModifiermust 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).The “show long time format” permission can enable disable the visibility of timing when dates are displayed.Disabling byline on content typesSometimes the byline section is displayed on contents where you don’t need it.In that case you can apply (from ZMI) a marker interface namedILastModifierInertContentto a single
content, or let your 3rd-party content types to extends it.
This will disable the byline section.Also, the byline section is automatically disabled on the Plone site root.Show change notesThis feature will show the comment to changes you did, that commonly are kept in the history section
so this only works for content type whereversioningis 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 storethatchange note to be shown in the content, that means that additional changes without
checking the option will not update that information.Todeletethe change note shown you must edit a document, provide an empty note while keeping the check
selected.Note: this feature require JavaScript to work properlyandhas only be tested for Archetypes based
content types.InstallationAddrt.lastmodifierto your buildout:[buildout]
...

[instance]
...
eggs=
   ...
   rt.lastmodifierAfter that, install the “rt.lastmodifier” add-on product.NoteInstallation will trigger an index creation and population. This can require some times
on huge sites.CompatibilityAll Plone versions from 3.3 to 4.3.CreditsDeveloped with the support of:S. Anna Hospital, FerraraCamera di Commercio di FerraraProvince of VicenzaAll of them supports thePloneGov initiative.AuthorsThis product was developed by RedTurtle Technology team.Changelog1.1.2 (2024-02-07)Python3 chore.
[folix-01]1.1.1 (2020-07-02)Fix problem on patch when deleting contents.
[cekk]1.1.0 (2020-03-07)Python3 compatibility [cekk]1.0.2 (2015-12-16)Fix document by line folder viewlet to take last modifier
from last modified content inside the folder
[fdelia]1.0.1 (2015-10-16)Added memoize for caching the values of last_modifier method
[fdelia]1.0.0 (2015-09-07)Added a new permissionrt.lastmodifier: show long time format.
This can enable/disable the full time format on dates.
[keul]Added theILastModifierInertContentmarker interface for disable
byline section on contents
[keul]Fixed to byline infos: prevented some commas to be misdisplayed
[keul]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 useAuthenticatedbutMember[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 findcollective.lastmodifierwhen 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