Project

General

Profile

Actions

Bug #15096

closed

File upload tool - Default to more than just one upload file.

Added by Matthew about 19 years ago. Updated over 18 years ago.

Status:
Closed
Priority:
Should have
Category:
-
Target version:
-
Start date:
2005-10-18
Due date:
% Done:

0%

Estimated time:
TYPO3 Version:
3.8.0
PHP Version:
4
Tags:
Complexity:
Is Regression:
Sprint Focus:

Description

The BE upload files tool defaults to just one file at a time.

I rarely upload just one file at a time.

This should be defaulted to say 4 files to save wasted clicks

It does not matter if there are empty fields it only uploads what it can.

Thanks
Matthew

(issue imported from #M1657)


Files

2005-10-19_bugfix_1657_2.patch (830 Bytes) 2005-10-19_bugfix_1657_2.patch Administrator Admin, 2005-10-19 19:37
Actions #1

Updated by Sebastian Kurfuerst about 19 years ago

the attached patch sets the default number of file uploads to 4. it is a really small change, but i am not sure if it will get into the core.

Actions #2

Updated by Sebastian Kurfuerst about 19 years ago

what do you think about this?

Actions #3

Updated by Matthew about 19 years ago

That is great Sebastian. It certainly helps me.

This arbitary value of '4' is exactly the sort of hard coded data that I think really needs to be extracted from the TYPO3 core and included in a config somewhere so that it can be controlled on a per site basis.

For example. Some installations of TYPO3 may require a user to upload a set number of files ready for use. In this situation, the hard coded value of 4, would need to be changed.

Matthew

Actions #4

Updated by Sebastian Kurfuerst about 19 years ago

the _2 patch introduces a tsconfig option:
options.defaultFileUploads
which is configurable in user/group tsconfig.

greets, sebastian

Actions #5

Updated by Matthew about 19 years ago

Excellent
That should make it to the core.
I learn something new every day.

Actions #6

Updated by Sebastian Kurfuerst about 19 years ago

@Matthew - this option will be available in typo3 4.0.0

DOCUMENTATION TSconfig
Section: OPTIONS

defaultFileUploads
integer
default number of file upload forms shown in the file->list module

Actions #7

Updated by Sebastian Kurfuerst almost 19 years ago

Fixed in CVS.

Actions

Also available in: Atom PDF