[TYPO3-core] RFC: drag&drop to copy/move pages

Holzinger Franz franz at fholzinger.com
Sat Jan 28 18:25:37 CET 2006


Hello Sebastian,

>-----BEGIN PGP SIGNED MESSAGE-----
>Hash: SHA1
>
>Hi Franz,
>  
>
>>I prefer the usage of a local variable for this, because this is more
>>understandable than the strcmp function.
>>
>>$dragDrop = t3lib_div::_GP('dragDrop');
>>if ($dragDrop) {
>>$this->iParts[0] = $dragDrop;
>>...
>>}
>>    
>>
>I think that's ok, and IMHO Robert once suggested the use of strcmp
>for strings.
>
>  
>
>>>return $CMcontent;
>>>      
>>>
>>-1 for that
>>    
>>
>The "early" return is just fine. I checked it how it works, and that
>is exactly the way it needs to be. If there is a "drag and drop"
>action, it outputs the correct code and exits.
>If not, the code executes the way it was before, which is the correct way.
>
>  
>
The problem is that the normal menu entries will not get displayed. So
this will confuse many users!
Please find a solution where the normal menu entries are still displayed
in the context menu on the page tree.


Greets,

Franz








More information about the TYPO3-team-core mailing list