[TYPO3-mvc] Flexform / settings in listAction
Tim Schoch | GSTALTIG
tim.schoch at gstaltig.ch
Thu Oct 13 17:01:31 CEST 2011
Hi Alisha
This is the setup, the Extension Builder creates:
<T3DataStructure>
<sheets>
<sDEF>
<ROOT>
<el>
<settings.flexform.productLine>
... similar to your settings ...
</settings.flexform.productLine>
</el>
</ROOT>
</sDEF>
</sheets>
</T3DataStructure>
ext_tables.php
Tx_Extbase_Utility_Extension::registerPlugin( $_EXTKEY, 'Products', 'Products' );
$pluginSignature = str_replace('_','',$_EXTKEY) . '_product';
$TCA['tt_content']['types']['list']['subtypes_addlist'][$pluginSignature] = 'pi_flexform';
t3lib_extMgm::addPiFlexFormValue($pluginSignature, 'FILE:EXT:' . $_EXTKEY . '/Configuration/FlexForm/Product.xml');
and in your controller:
$filter = $this->settings['flexform']['filter']
Maybe this helps.
Cheers, Tim
More information about the TYPO3-project-typo3v4mvc
mailing list