[TYPO3-mvc] Problem with FlexForms

Patrick Kollodzik patrick at work.de
Fri Jun 26 11:30:21 CEST 2009


Hi,

i try to port a teaser extension to extbase. The basis , like the 
TeaserController etc., i got to work, but i can't get the flexform to work.

/**
  * A fully configured omnipotent plugin
  */
Tx_Extbase_Utility_Plugin::registerPlugin(
	'NaworkTeaser',									'PiShowTeaser',									'Display Teaser',							
	array(									
		'Teaser' => 'show',	
	),
	array()
);


$TCA['tt_content']['types']['list']['subtypes_excludelist'][$_EXTKEY.'_piShowTeaser']='layout,select_key,pages,recursive';
$TCA['tt_content']['types']['list']['subtypes_addlist'][$_EXTKEY.'_piShowTeaser']='pi_flexform';
t3lib_extMgm::addPiFlexFormValue($_EXTKEY . '_piShowTeaser', 
'FILE:EXT:nawork_teaser/Configuration/FlexForms/flexform.xml');

The FlexForm in the blog_example is not diplayed either. The same code 
in a piBase extension works just fine.

Does someone knows where the error is?

Best regards Patrick Kollodzik


More information about the TYPO3-project-typo3v4mvc mailing list