[TYPO3-dev] configure allowed filetypes of group element in flexform_ds
Steffen Müller
steffen at kommwiss.fu-berlin.de
Tue Nov 7 10:31:47 CET 2006
Hi.
Pesch, Patric schrieb:
> 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
>
Sorry, I wasn't precise enough.
I was looking for a way to use
$GLOBALS['TYPO3_CONF_VARS']['GFX']['imagefile_ext'] inside the flexform:
<config>
<type>group</type>
<internal_type>file</internal_type>
<allowed>$GLOBALS['TYPO3_CONF_VARS']['GFX']['imagefile_ext']</allowed>
</config>
But the above example does not work.
--
cheers,
Steffen
More information about the TYPO3-dev
mailing list