[TYPO3] flexforms & mm

Nikolas Hagelstein hagelstein at shr.cc
Tue Apr 25 16:45:00 CEST 2006


Hi,

could anyone provide a brief example on and even if
flexforms are working in common with mm-relations?

i rewrote this tca-field :
----
"groups" =>	Array	(		
	"exclude"	=> 1,		
	"l10n_mode"	=> "exclude",	
	"label"	=>
"LLL:EXT:test/locallang_db.php:tx_test_product.group",		
	"config" =>	Array	(
		"type" =>	"select",	
		"foreign_table"	=> "tx_test_product_group",	
		"foreign_table_where"	=> "and	l18n_parent=0 ORDER
BY tx_test_product_group.uid",	
		"size" =>	10,	
		"minitems" =>	0,
		"maxitems" =>	100,	
		"MM" =>	"tx_test_product_prod_group_mm",
	)
),

----
to this flexform:
----
"groups" =>	Array	(		
	"exclude"	=> 1,		
	"l10n_mode"	=> "exclude",	
	"label"	=>
"LLL:EXT:test/locallang_db.php:tx_test_product.group",		
	"config" =>	array	(
		"type" =>	'flex',	
		'ds' =>	Array	(
			'default'	=> '
<T3DataStructure>
<meta type="array">
<langDisable>1</langDisable>
</meta>
<ROOT type="array">
<type>array</type>
<el type="array">
<groups type="array">
<TCEforms type="array">
<label>CARSYSTEM</label>
<config type="array">
<type>select</type>
<foreign_table>tx_voss_product_group</foreign_table>
<foreign_table_where>and l18n_parent=0  ORDER BY
tx_test_product_group.uid</foreign_table_where>
<MM>tx_test_product_prod_group_mm</MM>
<size type="integer">5</size>
<minitems type="integer">0</minitems>
<maxitems type="integer">30</maxitems>
</config>
</TCEforms>
</groups>
</el>
</ROOT>
</T3DataStructure>
					'
				),
			)
		),

----

TCA is working, while flexform ist not. "not working" means that it
displays, but there are no elements/relations in the left part of the
select box. Which should be because i insert them via tca.

any ideas?

cheers,
               Nikolas



More information about the TYPO3-english mailing list