DEPRECATION WARNING

This documentation is not using the current rendering mechanism and is probably outdated. The extension maintainer should switch to the new system. Details on how to use the rendering mechanism can be found here.

EXT: FORMidable DB m:m datahandler

Created:2010-02-18T17:33:18
Changed:2010-04-27T18:47:31
Classification:dhdbmm
Keywords:ameos_formidable forms relations
Author:Oliver Klee
Email:typo3-coding@oliverklee.de
Info 4:
Language:en

img-1 img-2 EXT: FORMidable DB m:m datahandler - dhdbmm

EXT: FORMidable DB m:m datahandler

Extension Key: dhdbmm

Language: en

Keywords: ameos_formidable forms relations

Copyright 2000-2010, Oliver Klee, <typo3-coding@oliverklee.de>

This document is published under the Open Content License

available from http://www.opencontent.org/opl.shtml

The content of this document is related to TYPO3

- a GNU/GPL CMS/Framework available from www.typo3.org

Manual

What does it do?

This extension provides loading and saving of m:n relations for the FORMidable extension (extension key “ameos_formidable”) 2.0.0 and higher.

Installation

install ameos_formidable in version 2.0.0 or higher

install dh_dbmm

delete typo3cond/temp_CACHED*

Usage

In the XML configuration of your FORMidable form, provide the name of the m:n table for all fields that use m:n relations:

<control>
        <datahandler:DBMM>
                <tablename>tx_seminars_seminars</tablename>
                <keyname>uid</keyname>
                <labelname>title</labelname>
                <mmrelations>
                        <relation field="categories"
mmtable="tx_seminars_seminars_categories_mm" />
                        <relation field="place" mmtable="tx_seminars_seminars_place_mm" />
                        <relation field="lodgings" mmtable="tx_seminars_seminars_lodgings_mm" />
                        <relation field="foods" mmtable="tx_seminars_seminars_foods_mm" />
                        <relation field="speakers" mmtable="tx_seminars_seminars_speakers_mm" />
                        <relation field="partners"
mmtable="tx_seminars_seminars_speakers_mm_partners" />
                        <relation field="tutors"
mmtable="tx_seminars_seminars_speakers_mm_tutors" />
                        <relation field="leaders"
mmtable="tx_seminars_seminars_speakers_mm_leaders" />
                        <relation field="target_groups"
mmtable="tx_seminars_seminars_target_groups_mm" />

This will also work if you configure your form using TS Setup instead of XML.

Known limitations

This extension currently does not support bidirectional m:n relations.

This extension does not work (and is not needed) with FORMidable 1.x.x. That version of FORMidable brings its own m:n data handler (which uses exactly the same format, but uses a separate data handler name).

Want to help? Or found a bug?

This extension is hosted on Forge . If you have found a bug, want to help or anything else, please use Forge.

img-2 3