Project

General

Profile

Actions

Feature #16323

closed

Implement file_reference for TCA "group" type. Files can be referenced instead of copied to upload folder

Added by Martin Borer over 17 years ago. Updated over 14 years ago.

Status:
Closed
Priority:
Should have
Category:
-
Target version:
-
Start date:
2007-07-27
Due date:
% Done:

0%

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

Description

If you let "uploadfolder" empty in your TCA Settings. Like:
"movie" => Array (
"exclude" => 1,
"label" => "LLL:EXT:ext_collect/locallang_db.xml:tx_extcollect_movies.movie",
"config" => Array (
"type" => "group",
"internal_type" => "file",
"allowed" => "flv",
"max_size" => 500000,
"uploadfolder" => "",
"size" => 1,
"minitems" => 1,
"maxitems" => 1,
)
),

The selected File will not be copied. It stores only the absolute Path of the file (great!).
But after saving the record, the selector box shows the whole "long" path. The Filename isn't identifiable anymore. It would be great if the Filename apears insted of the "Upload" Fild, witch isn't used anymore.

This Feature is used by MailformPlus and some of my privat extensions... ;)

(issue imported from #M6039)


Files

6039.patch (1.78 KB) 6039.patch Administrator Admin, 2008-02-27 01:48
6039_v2.patch (2.72 KB) 6039_v2.patch Administrator Admin, 2008-02-27 22:46
6039_v3.patch (2.77 KB) 6039_v3.patch Administrator Admin, 2008-02-28 00:32
6039_v4_new_internal_type.patch (10.1 KB) 6039_v4_new_internal_type.patch Administrator Admin, 2008-03-12 21:51
6039_v5_with_impexp.patch (17 KB) 6039_v5_with_impexp.patch Administrator Admin, 2008-08-02 13:47
6039_v5.diff (12.1 KB) 6039_v5.diff Administrator Admin, 2008-08-19 12:06
6039_v6.diff (18.3 KB) 6039_v6.diff Administrator Admin, 2008-08-19 21:48
typo3_fileIntegrityCheckWithSupportOfDirectReferences.patch (2.06 KB) typo3_fileIntegrityCheckWithSupportOfDirectReferences.patch Administrator Admin, 2008-10-29 15:47
6039_v7.patch (19.8 KB) 6039_v7.patch Administrator Admin, 2009-01-21 14:46
6039_v8.diff (19.7 KB) 6039_v8.diff Administrator Admin, 2009-03-27 23:01
6039_v9.diff (21.5 KB) 6039_v9.diff Administrator Admin, 2009-05-25 21:50
T3X_6039-0_0_0-z-200906261532.t3x (10.4 KB) T3X_6039-0_0_0-z-200906261532.t3x Administrator Admin, 2009-07-31 14:10
6039_v14.diff (20.6 KB) 6039_v14.diff Administrator Admin, 2009-07-31 14:10
6039_v14_doku.txt (371 Bytes) 6039_v14_doku.txt Administrator Admin, 2009-07-31 14:10
6039_v15.diff (20.4 KB) 6039_v15.diff Administrator Admin, 2009-08-01 20:17
Actions

Also available in: Atom PDF