Project

General

Profile

Actions

Feature #16714

closed

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

Added by Steffen Müller about 18 years ago. Updated over 11 years ago.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
-
Target version:
-
Start date:
2006-11-13
Due date:
% Done:

0%

Estimated time:
PHP Version:
Tags:
Complexity:
Sprint Focus:

Description

There's the possiblilty to limit the file upload in the backend to certain file extensions. For example
<config>
<type>group</type>
<internal_type>file</internal_type>
<allowed>gif,jpg,jpeg,tif,bmp,pcx,tga,png</allowed>
</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)

Actions

Also available in: Atom PDF