Issue Feature Closed

#16714Global vars do not work inside flexform_ds.xml but in tca.php

Steffen Müller 11/13/06, 16:13 updated 05/03/13, 16:46

Description

There’s the possiblilty to limit the file upload in the backend to certain file extensions. For example
<config><br> <type>group</type><br> <internal_type>file</internal_type><br> <allowed>gif,jpg,jpeg,tif,bmp,pcx,tga,png</allowed><br> </config>

According to the example in TYPO3 core API documentation ( http://typo3.org/documentation/document-library/core-documentation/doc_core_api/current/view/4/2/#id2817038 ), one could use $GLOBALS[‘TYPO3_CONF_VARS’][‘GFX’][‘imagefile_ext’] instead of the comma-seperated list of extension.

This works in tca.php but not in flexform_ds.xml

(issue imported from #M4511)

Reviews 0

No change resolves or names this issue in its commit message, and no comment links one.