[TYPO3-core] RFC: Feature #6770: Implement option to use different Flexform Datastructures per type field value
Steffen Kamper
steffen at sk-typo3.de
Thu Nov 22 00:02:23 CET 2007
"Ingmar Schlecht" <ingmar at typo3.org> schrieb im Newsbeitrag
news:mailman.1.1195685420.13243.typo3-team-core at lists.netfielders.de...
> Hi Masi,
>
> Martin Kutschker schrieb:
>> We could use a * or the blank for a catchall
>>
>> But I think we can have this even shorter:
>>
>> 'ds_pointerfield' => 'list_type,CType',
>> 'ds' => array(
>> 'auxdataviewer_pi1' => 'FILE:EXT:auxdataviewer/pi1/flex.xml',
>> '*,table' => 'FILE:EXT:csc/flex.xml',
>> 'tt_address_pi1,list' => 'FILE:EXT:.../...xml',
>> ),
>
> Sounds good, attached is a new patch.
>
> The pointer fields are limited to two fields though, implementing it for
> an arbitrary amount of fields would get too complex.
>
> cheers
> Ingmar
>
> --
> Ingmar Schlecht
> TYPO3 Association Active Member
>
Hi Ingmar,
looks good, but can you give a short description how to use?
Am i right to do a inclusion like
$TCA['tt_content']['columns']['pi_flexform']['config']['ds'][$_EXTKEY,'list']
= 'FILE:EXT:'.$_EXTKEY.'/flexform.xml';
?
vg Steffen
More information about the TYPO3-team-core
mailing list