[Typo3-dev] addPlugin and flexforms

Stefan Kreisberg stefan at linkfactory.dk
Mon Nov 1 16:06:53 CET 2004


Hi list,

I've tried reading docs but never found a precise place to get "wiser" on 
learning about tt_content types and flex elms for FE plugins.

Copying the tt_news flexform

	$TCA['tt_content']['types']['list']['subtypes_excludelist'][9]='layout,select_key,pages,recursive';
	$TCA['tt_content']['types']['list']['subtypes_addlist'][9]='pi_flexform';
	t3lib_extMgm::addPlugin(Array('LLL:EXT:myextension/locallang_tca.php:tx_myextension', 
'9'));

works if I change '9' to '10' - but where does this number origin?

Good pinpoints as to where to lookup more info on the relations between 
addPlugin and addPiFlexFormValue will be greatly appreciated ...

Cheers,

Stefan a.k.a. Strato




More information about the TYPO3-dev mailing list