Feature #17628
closedenable param 'noBrowser' in TCA-config ['columns'][fieldname]['config'] / TYPE: "group"
0%
Description
For a certain configuration I would like to disable the 'browse-file'-Icon and only allow direct file-uploads. Function dbFileIcons in class.t3lib_tceforms.php is nearly prepared for this and with minor changes form the attached patch the new param is available.
If this patch is accepted, the core documentation in http://typo3.org/documentation/document-library/core-documentation/doc_core_api/4.1.0/view/4/2/#id3660035 should be extended accordingly:
Key: noBrowser
Datatype: boolean
Description: Disables the 'browse-file'-Icon.
Scope: Display
btw: the available param readOnly is not yet listed in this part of the documentation
(issue imported from #M6398)
Files
Updated by Patrick Boisclair almost 17 years ago
Hi,
I think I found the solution
In the class.t3lib_tceforms.php, in the function getSingleField_typeGroup(...)
I have add after the line 1900:$disallowed = $config['disallowed'];
$nobrowser = $config['noBrowser'];
and after the line 1974:'readOnly' => $disabled,
'noBrowser' => $nobrowser
Updated by Benni Mack almost 17 years ago
Hey Michael + Patrick,
I created your patch against trunk, uploaded it and submitted it to the core list.
Thanks for mentioning that the "readonly" field is not in the documentation either. Could you please add it to the Pending Documentation in the wiki?
http://wiki.typo3.org/index.php/Pending_Documentation#doc_core_api
Thanks!
Updated by Chris topher over 13 years ago
- Target version deleted (
-1)
Benjamin Mack wrote:
Thanks for mentioning that the "readonly" field is not in the documentation either. Could you please add it to the Pending Documentation in the wiki?
http://wiki.typo3.org/index.php/Pending_Documentation#doc_core_api
This has been added to the section "['ctrl'] section" of doc_core_tca.