=== doc_core_api === Ingmar, 20.11.2007: ''[TYPO3-core] RFC: Feature #6770: Implement option to use different Flexform Datastructures per type field value'':
Chapter: $TCA array reference => ['columns'][fieldname]['config'] / TYPE: "flex" New property: ds_altSrcPointer_perType (place this after the existing property "ds_pointerField") Type: Array Description: Use this if you want to use different datastructures based on the value of the table's type field (as defined in TCA[table][ctrl][type]) Array with type => ds-key pairs (see property "ds" below, for details on ds-keys). Example: For the tt_content table the css_styled_content Extension uses this property to use a special datastructure for the "table" CType. Therefore it has those two lines in its ext_tables.php file: [code should be highlighted with extdeveval when pasted into SXW documentation] $TCA['tt_content']['columns']['pi_flexform']['config']['ds_altSrcPointer_perType']['table'] = 'CType:table'; $TCA['tt_content']['columns']['pi_flexform']['config']['ds']['CType:table'] = 'FILE:EXT:'.$_EXTKEY.'/flexform_ds.xml'; [code] This property "ds_altSrcPointer_perType" takes precedence before "ds_pointerField".