Skip to main content

Dexterity PFG Adapter

This product installs a custom PloneFormGen adapter for creating new dexterity content objects from PloneFormGen form submissions.

Dexterity content types must be defined by other packages or be created using the dexterity schema editor, but otherwise the installed Content Adapter can be used as a part of existing PloneFormGen adapter chains.

When the form is published, also visitors may create content by submitting it.

By default the content is created using the permissions of the owner of the Content Adapter object, but there’s an option to allow logged-in form submitter to own the content after creation.

This product could be used with other known packages to create a more complete through-the-web -experience on Plone. For example:

  1. Create a new custom submission content type through-the-web using plone.app.dexterity.

  2. Create a custom tracker workflow for it using plone.app.workflowmanager.

  3. Create a custom submission form using PloneFormGen and this adapter.

  4. Profit.

This product may not yet support all of the PloneFormGen’s or Dexterity’s fields. If you like the idea and think this could be useful, please, contribute at: https://github.com/datakurre/collective.pfg.dexterity

P.S. If you find it redundant to first create a PloneFormGen-form and then define a similar dexterity content type, check out if uwosh.pfg.d2c is a better fit for you.

Changelog

0.4.0 – 2012-01-18

  • Refactored to masquerade as an owner of the adapter while creating content.

  • Added option to make logged-in submitter the owner of the created content.

  • Added option to save the URL of the created content onto request, for example, to be shown on a thanks page.

0.3.0 – 2011-09-09

  • Updated heuristics in adapting PFG values for zope.schema. More field combinations should work now.

0.2.3 – 2011-09-07

  • Added French translation (bklups).

0.2.2 – 2011-09-06

  • Fixed broken package.

0.2.1 – 2011-09-05

  • Uses z3c.form adapters to convert data from request to field value.

0.1.0 – 2011-08-28

  • Proof of concept

Download files

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

Source Distribution

collective.pfg.dexterity-0.4.0.zip (30.7 kB view details)

Uploaded Source

File details

Details for the file collective.pfg.dexterity-0.4.0.zip.

File metadata

File hashes

Hashes for collective.pfg.dexterity-0.4.0.zip
Algorithm Hash digest
SHA256 9035cad0b7869b9dfadffa8015d16d9535bc743fb60e74d6c6a5934b1d143488
MD5 ccb7da2377d83be22cebeb254a230cdf
BLAKE2b-256 4490928abe37db7bb79968160e71a91b9e229b1f4264c0211c3bbb4b0d7185e8

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page