[TYPO3-dev] Switching flexform-DS based on cType?

Franz Koch typo at fx.MINUS.graefix.DOT.de
Thu Jul 19 23:09:57 CEST 2007


Hi Joey,

> Check the "icecore" extension.
> Everything you need is in ext_tables.php, because I had to use exactly this
> approach to add a flexform based GIFBUILDER setup to the "ice_headergfx".

thanks for the hint - but it doesn't work - and now I found out why. The switch for the DS of the field pi_flexform is related to the field 'list_type', but in my case I would need to switch based on the field 'CType'. And whoever integrated the flexform-configuration for TABLES implemented this DS as default DS for pi_flexform - so it appears always, besides in extensions.

So now I would either have to add a custom field to the DB for my flexform or should try to find a way to set a value for the field 'list_type' if CType 'mailform' is selected. Any ideas how to do that?


-- 
Kind regards,
Franz Koch




More information about the TYPO3-dev mailing list