sc.contentrules.movebyattribute
Overview
sc.contentrules.movebyattribute is a content rule action used to organize content by moving it under a folderish object with the same id as the value returned by a selected attribute.
Use case
In a portal content is created in a folder /post and must be moved to a new location when it is published. This new location will be under another folder /blogs where every user has its own sub folder
A portal manager will add a content rule that when a Page is published inside /post it will lookup the value of the method Creator and then move the published content to a folderish under /blog. The id of this folderish will match the value extracted from the Creator method.
So, a user with username kirk, will add a new Page in /post and wait for publication. When a reviewer publishes the content, it will be moved under /blog/kirk, which must already exist.
Requirements
Plone 3.3.x and above (http://plone.org/products/plone)
Installation
To enable this product,on a buildout based installation:
Edit your buildout.cfg and add sc.contentrules.movebyattribute to the list of eggs to install
[buildout] ... eggs = sc.contentrules.movebyattribute
After updating the configuration you need to run the ‘’bin/buildout’’, which will take care of updating your system.
Sponsoring
Development of this product was sponsored by:
Credits
Erico Andrei (erico at simplesconsultoria dot com dot br)
Changelog
0.5 (2011-06-23)
Brazilian Portuguese translation [erico_andrei]
Initial release [erico_andrei]
Metadata
Release files for sc.contentrules.movebyattribute 0.5
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| sc.contentrules.movebyattribute-0.5.tar.gz | 17.3 kB | Without provenance | Details for sc.contentrules.movebyattribute-0.5.tar.gz |
Release files / sc.contentrules.movebyattribute-0.5.tar.gz
| Download URL | sc.contentrules.movebyattribute-0.5.tar.gz |
|---|---|
| Size | 17.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
3c32d1b824f58d0a9ed4afdc24b535c1580848850964e7f6a36b5ed272448af9
|
|
BLAKE2b-256 checksum How to use checksums |
14b26cf8c7c85bb3ca75d3c243414e34ec22e6f89445bda40ed71a3a102d8260
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Security for sc.contentrules.movebyattribute 0.5
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.