[TYPO3-formidable] error while using hdbmm extension

Stéphane FILLION s.fillion at ameos.com
Thu Aug 5 11:38:26 CEST 2010


Hello,

An example with tt_news : 

<formidable version="2.0.477"
	xmlns:renderlet="http://formidable.typo3.ug/xmlns/2.0.477/renderlet">

	<meta>
		<name>New FML file</name>
		<form formid="myform"/>
	</meta>
	
	<control>
		<datahandler:DB>
			<tablename>tt_news</tablename>
			<keyname>uid</keyname>
			<editEntry>1</editEntry>
			<mmrelations>
				<relation 
					field="category"
					mmtable="tt_news_cat_mm" 
				/>
			</mmrelations>
		</datahandler:DB>
	</control>


	<elements>
		<renderlet:TEXT name="title" label="title" />
		<renderlet:CHECKBOX name="category" label="category">
			<data>
				<userobj>
					<php><![CDATA[
						
						return $GLOBALS['TYPO3_DB']->exec_SELECTgetRows(
							'uid as value, title as caption',
							'tt_news_cat',
							'1=1'
						);
						
					]]></php>
				</userobj>
			</data>
		</renderlet:CHECKBOX>
		
		<renderlet:SUBMIT name="submit" label="submit" />

	</elements>

</formidable>

I hope this example will help you

Regards,
Stéphane

-----Message d'origine-----
De : typo3-project-formidable-bounces at lists.typo3.org [mailto:typo3-project-formidable-bounces at lists.typo3.org] De la part de Domi Garms
Envoyé : jeudi 5 août 2010 08:34
À : typo3-project-formidable at lists.typo3.org
Objet : Re: [TYPO3-formidable] error while using hdbmm extension

Hello again,

does anybody knows, how I can get <datahandler> working with mm
relations? Or what is an option for realising multiple entries for one
element? I want to add multiple entries for languages and countries
for one user. The searchformular should list all languages and
countries which have an entry in the user table and filter them.
Before formidable I realised it with mm-tables and joins, now Im a bit
unsure how to realise it.

The datahandler <datahandler:DBMM> is not working, I dont know why.
Still the same errormessage:

TYPE DBMM is not associated to any datahandlers

Thanks for any hint
Greetings
Domi




2010/8/5 Domi Garms <djgarms at gmail.com>:
> Hello list,
>
> I have a problem using DBMM extension for mm relations between my
> tables. I installed the extension but I only get an error:
>
> TYPE DBMM is not associated to any datahandlers
>
> what do I miss, in the documentation nothing is described how Ill get it run.
>        <?xml version="1.0" encoding="UTF-8"?>
>       <formidable version="2.0.475"
>        xmlns:datahandler="http://www.ameos.com/formidable/2.0.475/datahandler"
>        xmlns:datasource="http://www.ameos.com/formidable/2.0.475/datasource"
>        xmlns:renderer="http://www.ameos.com/formidable/2.0.475/renderer"
>        xmlns:renderlet="http://www.ameos.com/formidable/2.0.475/renderlet"
>        xmlns:validator="http://www.ameos.com/formidable/2.0.475/validator"
>        xmlns:actionlet="http://www.ameos.com/formidable/2.0.475/actionlet">
>
>        <meta>
>                <name>Standard XML file</name>
>                <form formid="first_test"/>
>                <debug>true</debug>
>                <displaylabels>true</displaylabels>
>        </meta>
>        <control>
>                <datahandler:DBMM>
>                        <tablename>tx_aupairnetwork_administrator</tablename>
>                        <keyname>uid</keyname>
>                        <labelname>title</labelname>
>                        <mmrelations>
>                                <relation field="categories"
> mmtable="tx_aupairnetwork_administrator_preferred_countries_mm" />
>                        </mmrelations>
>
>
>                </datahandler:DBMM>
>                <renderer:STANDARD/>
>        </control>
>
>
> Thanks,
>
> Domi
> _______________________________________________
> TYPO3-project-formidable mailing list
> TYPO3-project-formidable at lists.typo3.org
> http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-project-formidable
>
_______________________________________________
TYPO3-project-formidable mailing list
TYPO3-project-formidable at lists.typo3.org
http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-project-formidable



More information about the TYPO3-project-formidable mailing list