[TYPO3-dev] configure allowed filetypes of group element in flexform_ds

Steffen Müller steffen at mail.kommwiss.fu-berlin.de
Tue Nov 7 01:34:11 CET 2006


Hi.


to restrict the allowed filetypes in a group element of the BE, I can
use in tca.php

'config' => Array (
  'type' => 'group',
  'internal_type' => 'file',
  'allowed' =>  $GLOBALS['TYPO3_CONF_VARS']['GFX']['imagefile_ext'],
)

instead of

'config' => Array (
  'type' => 'group',
  'internal_type' => 'file',
  'allowed' =>  'jpg,jpeg,gif,png,pdf,ai',
)

But this seems not to work in flexform_ds.xml

Is there a way to do that?

-- 
cheers,
Steffen




More information about the TYPO3-dev mailing list