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

Martin Kutschker Martin.Kutschker at n0spam-blackbox.net
Mon Nov 13 19:18:10 CET 2006


Steffen Müller schrieb:
> Hi Peter,
> 
> thanks for your suggestion.
> 
> On 07.11.2006 12:59 Peter Russ wrote:
> 
>>You could try any bypass it utializing the language file like:
>>
>>$LOCAL_LANG['default']['allowedExt']=$GLOBALS['TYPO3_CONF_VARS']['GFX']['imagefile_ext'];
>>
>>
>>and in your flexform:
>><allowed>LLL:EXT:extKey/pi/locallang.php:allowedExt</allowed>
>>
> 
> LLL doesn't work inside <allowed></allowed>

As LLL is used for localization it doesn't make too much sense here.

What could work - the bug report here is good - is to allow for a 
CV:<key1>:<key2> (eg CV:GFX:imagefile_ext) syntax to have TYPO3_CONF_VARS 
access here.

Masi




More information about the TYPO3-dev mailing list