[TYPO3-formidable] error while using hdbmm extension

Domi Garms djgarms at gmail.com
Thu Aug 5 15:13:50 CEST 2010


Ah, OK. Im sending the ID directly over the init function, havent
looked proper into the description that I can set it in the xml
directly.

Do you also know, how to get the "gl_formidable_utils"-utilities to
run? After installation nothing is happening...the field is still
empty.

<renderlet:LISTBOX name="country">
			<data defaultvalue="65">
				<userobj>
					<extension>tx_glformidableutils_div</extension>
					<method>_getCountries</method>
				</userobj>
			</data>
		<custom>size=”10”</custom>
</renderlet:LISTBOX>

Thanks a lot for your hints!!!


Regards,

Domi

2010/8/5 Stéphane FILLION <s.fillion at ameos.com>:
> In your plugin, when you make an instance of formidable, you set the uid of the record to edit (if you edit a record).
>
> $this->oForm = t3lib_div::makeInstance("tx_ameosformidable");
> $this->oForm->init(
>        $this,
>        "EXT:myext/xml/form.xml",
>        25    // uid of the record to edit
> );
>
> You can also set this uid with <editEntry>  (More easy for an example)
> You can see it on http://formidable.typo3.ug/reference/control/datahandlerdb.html
>
> 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 14:38
> À : TYPO3 project list for the FORMidable extension
> Objet : Re: [TYPO3-formidable] error while using hdbmm extension
>
> Ahhhh, YEAH! Now its working!!!
>
> Perfect, thanks a lot.
>
> One small question: for what is the <editEntry> tag for? Is somewhere
> a website, where some features about the datahandling is shown?
>
> Greetings
>
> Domi
>
> 2010/8/5 Stéphane FILLION <s.fillion at ameos.com>:
>> 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
>>
>> _______________________________________________
>> 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
>
> _______________________________________________
> 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