Skip to main content

Plone content types for legislative documents

Project description


This package provides content types for legislative documents. You can see the product in action in

For more detailed documentation read docs/README.txt or docs/README-es.txt for documentation in Spanish, which is more extensive at this point.


The main content types provided are:

  • Normativa, stores a legislative document in binary format and its metadata.
  • Area, a folderish content type where normativas can be added and categorized.


This product should work with the whole Plone 3 serie. Nevertheless, is was only tested in Plone 3.3rc2. The following products must be installed in your site before installing Products.DigestoContentType:

  • Products.ATExtensions 0.9.5
  • iw.fss 2.7.6
  • Products.ATBackRef 2.0
  • Products.CMFPlacefulWorkflow (which already comes with Plone)


Make sure that all the dependencies are installed. If you use zc.buildout, just add Products.DigestoContentTypes to your eggs and zcml and rerun buildout. In the site install all the dependencies and finally Products.DigestoContentTypes.

A sample buildout can be found in the product’s SVN repository: That buildout can be used to quickly try the product or serve as a base to modify your own buildout configuration.


This product was generated using ArchGenXML.

You can build the development buildout by running the following commands:

$ svn co digesto

$ cd digesto

$ python2.4

$ ./bin/buildout

Then you can start the Zope instance running:

$ ./bin/instance fg

The ZMI can be accessed in http://localhost:8080/manage, where you can authenticate using ‘admin’ as user id and password.


This product was developed by Emanuel Sartor and Santiago Bruno from Menttes. The development was sponsored by the Universidad Nacional de Córdoba and Menttes.


The attachment management widget was originally created by Martin Aspeli for the RichDocument product. The templates can be found in: skins/digestocontenttypes_templates/widget_attachments*; the widget class is in the ‘widget’ directory.

The dynamic sequence widget was created by Philipp von Weitershausen in his demo application for the “Web Component Development with Zope 3” book. Files: browser/, browser/templates/ and browser/resources/sequence.js.

The normativas live search is highly based on the Plone live search. Files: browser/resources/normativalivesearch.js, skins/digestocontenttypes_templates/

The normativas search and ‘send to’ functionalities is derived from Plone’s search and ‘send to’ functioanlities. Files (all of them in skins/digestocontenttypes_templates/):, normativa_send.cpt, normativa_sendto.cpy.

The are a bunch on templates derived from Archetypes templates. Archetypes was written by Benjamin Saller and others. All the derived files are in the skins/digestocontenttypes_templates/ directory:

  • The files and are derived from the template.
  • The file is derived from
  • The file manage_attachments.cpt is derived from base_edit.cpt.

The records widget is derived from the ATExtensions records widget. ATExtensions was written by Raphael Ritz. File: skins/digestocontenttypes_templates/

The mock mail host utility is derived from the one in PasswordResetTool, by J. Cameron Cooper. File: tests/

This product was generated using ArchGenXML by Phil Auersperg, Jens Klein, et al.

Changelog for DigestoContentTypes

(name of developer listed in brackets)

DigestoContentTypes 1.2a1

  • Eggification and update to work with Plone 3.3rc2. [emanuel]
  • Cleaning for public release. [emanuel]

DigestoContentTypes 1.1.7

  • Solved redirect issue when modifying some sensitive fields in normativas. [emanuel]
  • Added help text on CUDAP field. [sbruno]

DigestoContentTypes 1.1.6

  • Manage abbreviations can be managed by area local managers. [sbruno]
  • Documentation for developers added. [sbruno, emanuel]

DigestoContentTypes 1.1.5

  • Rename the attachments when the normativa is renamed. [nueces]
  • Validation for the soure field when the normativa is created. [nueces]

DigestoContentTypes 1.1.4

  • Indexes are not reset when the product is reinstalled. [emanuel]

DigestoContentTypes 1.1.3

  • CUDAP field added to the catalog. [sbruno]
  • Field CUDAP added to normativas. [frapell]
  • Fix in migration script so the migration doesn’t fail when trying to publish an already public normativa. [nueces]

DigestoContentTypes 1.1.2

  • Fix search so you can find a normativa when you search for the main file name. [sbruno]
  • Normativa and dossier numbers made searchable. [sbruno]
  • Limit search results to 10 items per page. [sbruno]
  • Livesearch customized so it only show results of types: Normativa, Attachment and Area. [sbruno]
  • Publish areas and normativas in the migration script. [nueces]

DigestoContentTypes 1.1.1

  • Solved the error: The id “.wf_policy_config” is invalid - it is already in use when running the migration script. [sbruno]
  • Migration script fixes. [nueces]

DigestoContentTypes 1.1.0

  • Editors can remove attachments in normativas. [sbruno]
  • Translations updated.
  • Abbreviations added to areas. Abbreviations are asociated to normativa’s type and used in the normativa’s URL. [sbruno]
  • Title autogeneration for normativas. [sbruno]
  • Attachments are named after the main file in normativas. [sbruno]

DigestoContentTypes 1.0.0

  • Generated skeleton product from ArchGenXML 2.0. [generator]
  • Full implementation. [sbruno, emanuel]

Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for Products.DigestoContentTypes, version 1.2a1
Filename, size File type Python version Upload date Hashes
Filename, size Products.DigestoContentTypes-1.2a1-py2.4.egg (771.9 kB) File type Egg Python version 2.4 Upload date Hashes View
Filename, size Products.DigestoContentTypes-1.2a1.tar.gz (673.7 kB) File type Source Python version None Upload date Hashes View

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page