Project

General

Profile

Actions

Bug #19310

closed

Bugfix for temporary Filemounts

Added by Steffen Kamper over 15 years ago. Updated over 5 years ago.

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

0%

Estimated time:
TYPO3 Version:
4.2
PHP Version:
5.3
Tags:
Complexity:
Is Regression:
Sprint Focus:

Description

This belongs to the element browser using temporary filemounts added with
options.folderTree.altElementBrowserMountPoints

The current situation has some bugs

  • the whole tree is set to "readonly" so user has no possibility to upload files to his regular filemount
  • mounts have wrong icon (ftp_user-icon) because the filemounts are initialized with wrong parameter
The attached patch corrects this with
  • remove readonly-flag
  • adding a new mount-type "readonly" for temporary filemounts
  • add a new icon for readonly-filemount
  • use mount type while render subfolders and use readonly-icon for subfolders of temporary mount (see screenshot)
  • in element browser determine the current mount and remove upload possibility if mount is readonly

The patch works for all element browsers (normal, RTE, DAM)

Thanks Stan as this patch is created by teamwork of Stan and me.
(issue imported from #M9320)


Files

browse_links_readonly_v5.diff (20.2 KB) browse_links_readonly_v5.diff Administrator Admin, 2008-09-10 10:29
readonly.png (3.32 KB) readonly.png Administrator Admin, 2008-09-10 10:29
_icon_ftp_readonly.gif (911 Bytes) _icon_ftp_readonly.gif Administrator Admin, 2008-09-10 10:30
[t3skin]_icon_ftp_readonly.gif (595 Bytes) [t3skin]_icon_ftp_readonly.gif Administrator Admin, 2008-09-10 10:31
browse_links_readonly_v6_trunk.patch (22.7 KB) browse_links_readonly_v6_trunk.patch Administrator Admin, 2008-09-14 18:39
browse_links_readonly_v6_typo3_4-2.patch (23.7 KB) browse_links_readonly_v6_typo3_4-2.patch Administrator Admin, 2008-09-14 18:40

Related issues 1 (0 open1 closed)

Has duplicate TYPO3 Core - Bug #19293: Element browser should forward readOnly state to hooking browsersClosedStanislas Rolland2008-09-05

Actions
Actions #1

Updated by Steffen Kamper over 15 years ago

As this patch introduce a new filemount type, 2 icons are added
  • _icon_ftp_readonly.gif => typo3/gfx/i/_icon_ftp_readonly.gif
    *[t3skin]_icon_ftp_readonly.gif => typo3/sysext/t3skin/icons/gfx/i/_icon_ftp_readonly.gif
Actions #2

Updated by Stanislas Rolland over 15 years ago

Attaching updated patch as well as TYPO3_4-2 version of the patch.

Actions #3

Updated by Stanislas Rolland over 15 years ago

Committed to SVN TYPOcore trunk (revision 4153) and branch TYPO3_4-2 (revision 4152).

Actions #4

Updated by Benni Mack over 5 years ago

  • Status changed from Resolved to Closed
Actions

Also available in: Atom PDF