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

Pesch, Patric p.pesch at 11com7.de
Tue Nov 7 09:46:06 CET 2006


hi, in the XML file you have to write xml-structure (IMHO) - e.g.
 <config>
    <type>group</type>
    <internal_type>file</internal_type>
    <allowed>jpg,jpeg,gif,png,pdf,ai</allowed>
 </config>

i hope that helps, in my flexforms it works

-- 
regards, Patric

Steffen Müller schrieb:
> 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?
>
>   




More information about the TYPO3-dev mailing list