skip to navigation
skip to content

Not Logged In

raptus.article.form 2.0b6

Provides support for PloneFormGen

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.0b6 (2014-07-14)

  • Added a new boolean field to the form folder content type to allow showing or hiding the form folder title when displaying it as a form component.
  • The form folder fields description, prologue and epilogue are now dispalyed in the form component view if they are set.

2.0b5 (2013-07-01)

  • Removed the not working show/hide functionality of raptus.article.core

2.0b4 (2010-11-10)

  • Added French translations

2.0b3 (2010-10-21)

  • Updated readme and manual

2.0b2 (2010-10-20)

  • First public release
 
File Type Py Version Uploaded on Size
raptus.article.form-2.0b6.zip (md5) Source 2014-07-14 26KB
  • Downloads (All Versions):
  • 16 downloads in the last day
  • 87 downloads in the last week
  • 298 downloads in the last month