Skip to main content

A PloneFormGen adapter that will save the data from a form to an actual content type. This way you can still use permissions, workflows, etc on the form data.

Project description

Introduction

uwosh.pfg.(d)ata(2)(c)ontent

This product provides a dynamic content type to store PloneFormGen form data into. It leverages schemaextenders ability to dynamically add extra fields on a content type so that you essentially get a persistent copy of your form.

The product adds a “Save Data to Content Adapter” item to the “Add new..” drop down for the PloneFormGen Form. Once enabled, when a user submits a form, a new content item is created with that data and located in the adapter.

Compatible with versions of PloneFormGen >= 1.2.2 and Plone 3.x -> 4.0.

Changelog

0.7 (2010-08-04)

  • added accessor method getValue for entry type.

  • index object properly after values are set

  • allow you to specify which field to use for the title

0.6 (2010-07-31)

  • added autoinclude entry point

  • only use _finishConstruction method if it’s available since in newer versions of CMFCore, it’s not there.

0.5

  • use id for Title

  • allow avoiding security checks when creating content.

  • conditionally include certain fields for backwards compatibility

  • make backward compatible to at least PloneFormGen 1.2.2 – maybe older.

  • added tests

  • added permissions for adding content

  • More fixes for the rating scale field. Should work as expected now.

0.4

  • fixed widgets not working correctly.

  • memoize the call to get the fields just in case it gets slow

0.3 (2010-07-27)

  • fix the way I checked for FileFields so that anything that subclasses a FileField won’t try to get it’s form value differently anymore.

0.2 (2010-07-27)

  • fix egg distro not including docs folder so the product wouldn’t install

  • fixed file fields not saving

0.1 (2010-07-27)

  • initial release

Contributors

Nathan Van Gheem, Author

Project details


Download files

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

Source Distribution

uwosh.pfg.d2c-0.7.tar.gz (19.5 kB view hashes)

Uploaded Source

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page