A Plone content rules package that enables the creation of chronological archives.
Project description
sc.contentrules.groupbydate
Overview
sc.contentrules.groupbydate is a very basic content rule used to organize content under a chronological-based hierarchy on a web site upon publication.
Base use case
A news portal with a few dozen new content items per day needs to organize its information in a chronological, yet human-readable, hierarchy.
To do so this package is installed in a Plone Site and a new content rule is created. This content rule will be triggered by the publication of an News Item and will initialize a ‘’’Move an item to a date-based folder structure’’’.
This action has a target (/news) and a structure (‘ymd’), so as our News Item, with id hello-world, is published on the site, it will be moved to a a new folder structure under /news. Supposing it’s December 19th, 2008, the item will end in /news/2009/12/19/hello-world.
Requirements
Plone 3.1 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.groupbydate to the list of eggs to install
[buildout] ... eggs = sc.contentrules.groupbydateTell the plone.recipe.zope2instance recipe to install a ZCML slug:
[instance] ... zcml = ... sc.contentrules.groupbydate
If another package depends on the sc.contentrules.groupbydate egg or includes its zcml directly you do not need to specify anything in the buildout configuration: buildout will detect this automatically.
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 Simples Consultoria.
Credits
Erico Andrei (erico at simplesconsultoria dot com dot br)
Changelog
0.5 (2009-07-28)
Very earlier i18n support [erico-andrei]
Initial release
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
Built Distribution
File details
Details for the file sc.contentrules.groupbydate-0.5.tar.gz
.
File metadata
- Download URL: sc.contentrules.groupbydate-0.5.tar.gz
- Upload date:
- Size: 14.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | d2776edc9b13468f287b4925cd43ceae9765d987811c39a36e3f9e0a7a72b2dc |
|
MD5 | f003cd9d059a1c39d724c698540765fd |
|
BLAKE2b-256 | 7f3cdea5b43523503b851ee84a27cb7b7202019b38e59c3be2b20548ac99c2da |
File details
Details for the file sc.contentrules.groupbydate-0.5-py2.4.egg
.
File metadata
- Download URL: sc.contentrules.groupbydate-0.5-py2.4.egg
- Upload date:
- Size: 23.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2b1a4e0b0c01bf51ecb9ee3cabaa4c10755ee1890696683022d4e1a1bfd6ce6f |
|
MD5 | a892d033e0f93b57975451c84915d6b5 |
|
BLAKE2b-256 | 4ca2b00949b0e9c5cbca37385b69960a9aeabfc2a0809b481f7222af9884c1fb |