Project

General

Profile

Actions

Feature #17628

closed

enable param 'noBrowser' in TCA-config ['columns'][fieldname]['config'] / TYPE: "group"

Added by Michael Waider over 16 years ago. Updated almost 13 years ago.

Status:
Closed
Priority:
Should have
Assignee:
Category:
-
Target version:
-
Start date:
2007-09-26
Due date:
% Done:

0%

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

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

class.t3lib_tceforms.patch (1.93 KB) class.t3lib_tceforms.patch Administrator Admin, 2007-09-26 13:56
20071204_nobrowser.patch (1.42 KB) 20071204_nobrowser.patch Administrator Admin, 2007-12-04 08:17

Related issues 1 (0 open1 closed)

Related to TYPO3 Core - Feature #17886: Disabling some or all controls in "group" fieldClosedDmitry Dulepov2007-12-05

Actions
Actions #1

Updated by Benni Mack over 16 years ago

I'll have a look at it soon...

Actions #2

Updated by Patrick Boisclair over 16 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

Actions #3

Updated by Benni Mack over 16 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!

Actions #4

Updated by Dmitry Dulepov over 16 years ago

See bug #17886

Actions #5

Updated by Chris topher almost 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.

Actions

Also available in: Atom PDF