Project

General

Profile

Actions

Feature #15440

closed

Drag and Drop functionality for pages and folders treeviews

Added by Stephane Schitter over 18 years ago. Updated almost 18 years ago.

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

0%

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

Description

Here is a patch that implements the ss_dragdrop extension into the core. It is checked against the latest CVS version at the time of this writing.

(issue imported from #M2301)


Files

typo3-dragdrop.patch (12.8 KB) typo3-dragdrop.patch Administrator Admin, 2006-01-18 01:40
gfx-icons.zip (1.37 KB) gfx-icons.zip Administrator Admin, 2006-01-18 15:47
Actions #1

Updated by Stephane Schitter over 18 years ago

I just added here the icons associated with the code. They need to be placed into the gfx/ directory. They could be redrawn at some point as well.

Actions #2

Updated by Stephane Schitter over 18 years ago

Several notes about the drag/drop functionality implemented here:

- Drag'n'drop will be disabled if the Context Menus (CMlayers) are disabled by the user. Reason for this is that functions such as GLV_x used by Drag'n'Drop javascript are unavailable in non-context menu mode. To allow Drag'n'Drop to work even in non-context menu mode, the code for determining GLV_x and other variables in Javascripts needs to be generated on the page.

- Headers of the various files need to be regerenated through extdeveval, as the new functions introduced would otherwise not appear in that Doc header.

- The move/copy functionality does not ask for confirmation to the users. This could be implemented if required, (in a similar way to FILE_delete($path)) but it is currently not felt necessary.

- The Drag'n'Drop menu does not check for disabled items in the context menu.

- A few new locallang items are added as part of the patch. These will need translation. I have already translation into a few languages, but I am not sure how to include these in the various csh_xx extensions.

- Icons may need redesign - I am not the best person to design icons, so I provided the old-style looking icons. They should be skinnable through the same API as the standard Typo3 skinning API. This needs to be tested though !

- the Drag'n'Drop code will not work if a folder name contains a double quote character : " However the existing context-menu code will fail for these folders as well, so should not be a big issue at this time. These incorrectly named folders cannot be created through the fileadmin. If they exsit, they have either been created through FTP or through a shell command.

Actions #3

Updated by Sebastian Kurfuerst over 18 years ago

Hi,
this is committed to CVS.
Greets, Sebastian
PS: Folder move functionality is implemented, too (this didn't work in your patch)

Actions

Also available in: Atom PDF