Mark and treat plone content as outdated
Project description
slc.outdated
slc.outdated provides an object action for plone to toggle an outdated flag on any object that is IAnnotatable. The value of the flag is stored in an annotation, indexed in the catalog via an indexer and included in the metadata.
By that you can use it for catalog queries and e.g. set CSS classes accordingly.
A viewlet will appear below the title of outdated content, indicating that this content is outdated. Further, the acquisition chain will be consulted for "outdated_info" and if found, its title and text body will be displayed. It should be published and hidden from the navigation.
The software is tested manually and fully functional. The lack of tests I consider a bug. I'd be most grateful if you donate tests, in case you plan on using slc.outdated.
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
File details
Details for the file slc.outdated-1.3.2.tar.gz
.
File metadata
- Download URL: slc.outdated-1.3.2.tar.gz
- Upload date:
- Size: 21.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/44.0.0 requests-toolbelt/0.9.1 tqdm/4.45.0 CPython/3.8.6
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | bd494712f3738e9cbef10cd65cabf495a3d4f0765a53a44d304c49e8c9c0a598 |
|
MD5 | 4162ff6761fa55900eba69df76369d0d |
|
BLAKE2b-256 | e189842045ff4105a56fa4aed70ad594ade48a4890919fae44332ae16b9acc28 |