Skip to main content

Provides support for PloneFormGen

Project description

Introduction

Provides support for PloneFormGen

The following features for raptus.article are provided by this package:

Content

  • Form Folder - PloneFormGen - add your forms in an article.

Components

  • Forms (List of forms contained in the article)

Dependencies

  • Products.PloneFormGen

  • raptus.article.core

Installation

To install raptus.article.form into your Plone instance, locate the file buildout.cfg in the root of your Plone instance directory on the file system, and open it in a text editor.

Add the actual raptus.article.form add-on to the “eggs” section of buildout.cfg. Look for the section that looks like this:

eggs =
    Plone

This section might have additional lines if you have other add-ons already installed. Just add the raptus.article.form on a separate line, like this:

eggs =
    Plone
    raptus.article.form

Note that you have to run buildout like this:

$ bin/buildout

Then go to the “Add-ons” control panel in Plone as an administrator, and install or reinstall the “raptus.article.default” product.

Note that if you do not use the raptus.article.default package you have to include the zcml of raptus.article.form either by adding it to the zcml list in your buildout or by including it in another package’s configure.zcml.

Usage

Add form

You may now add forms in your article. Click the “Add new” menu and select “Form” in the pull down menu. You get the standard plone form to add your form.

Components

Navigate to the “Components” tab of your article, select the forms component and press “save and view”. Note that at least one form has to be contained in the article in which this component is active.

Developer Manual

Note: You find a developer manual for raptus.article at raptus.article.core. Please have look there if you need more information.

Code overview

Adapters

file: forms.py

  • Forms (Provider for forms contained in an article)
    • interface: IForms

    • adapts: IArticle

    • getForms - method (Returns a list of forms (catalog brains))

Components

plone.belowcontentbody

  • raptus.article.forms

Interfaces

file: interfaces.py

  • IForms (Provider for forms contained in an article)
    • getForms - method (Returns a list of forms (catalog brains))

Changelog

2.0b3 (2010-10-21)

  • Updated readme and manual

2.0b2 (2010-10-20)

  • First public release

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

raptus.article.form-2.0b3.tar.gz (15.3 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