[TYPO3-core] RFC: Feature #6770: Implement option to use different Flexform Datastructures per type field value

Ingmar Schlecht ingmar at typo3.org
Fri Nov 23 14:20:00 CET 2007


Hi Masi,

Martin Kutschker wrote:
> But this (my) proposal has a flaw. You cannot have different subtypes
> per type.

I don't think that problem justifies such a complicated solution.

A more simple solution would be to just allow more than two
ds_pointerFields to be set like this:

'ds_pointerfield' => 'list_type,CType,mime_type',
'ds' => array(
    'auxdataviewer_pi1' => 'FILE:EXT:auxdataviewer/pi1/flex.xml',
     '*,table' => 'FILE:EXT:csc/flex.xml',
     'tt_address_pi1,list' => 'FILE:EXT:.../...xml',
     '*,multimedia,quicktime' => 'FILE:EXT:.../...xml',
     '*,multimedia,flash' => 'FILE:EXT:.../...xml',
 ),

So I propose:
 - I will commit my patch to trunk tomorrow with the +1s from Benni and
   Steffen
 - If you really want support for more than two pointerFields, you can
   implement it the way I proposed above.

cheers
Ingmar

-- 
Ingmar Schlecht
TYPO3 Association Active Member


More information about the TYPO3-team-core mailing list