[TYPO3-templavoila] Drag n Drop

Nikolas Hagelstein hagelstein at shr.cc
Sun Apr 15 13:40:04 CEST 2007


Hi there,
> I looked the source code list. Seems to use the same
> scripts as Maximo Quadros has used for the Classic page module.
> You don't have changed them?
scriptaculous and prototype right. Unfortunatly i i had include them to the
extension since the version shipt with t3 4.1 it selft a slighly modified 
and did not work
as expected.
see :
http://lists.netfielders.de/pipermail/typo3-dev/2007-April/023198.html

(so i included the original ones)

> I some customer ask, I might try to add the functionality to
> tm_contentaccess to offer drag'ndrop both for the classic page
> module and TemplaVoila.
> I should just combine my XCLASS and yours + change path
> /js/.../ just to /js/
> I have added some nice features TemplaVoila's page module
> like move up/down - those should make possible to disable,
> if dragn'drop used.

Nice idea but i would like to keep it seperated aslong as it stays at alpha 
stage (because there are a lot of
open issues sees beyond) .  What about putting together an extension that 
just provides prototype and scriptaculous?
If you or someone else would do that i would change dependencies to it and 
remove my js folder. And i guess Maximo
would do the same. What do you think?

> In addition I looked
>   1.
>      Copy and past doesn't work yet if the particular record is moved
>      around after hitting the copy button.
Yes, right and known to me (see manual). This is caused by the fact that TV 
handels C&P on destionation and source element "position"
(&source=tt_content:1:sDEF:lDEF:field_contentleft:vDEF:1&destination=tt_content:1:sDEF:lDEF:field_contentleft:vDEF:1 
last paremeter 1).
My JS is capable of updating the destination but not the source ATM. But 
this will be fixed in the next version.

>   2. The clipboard doesn't get updated when moving recors arround.
Right also known i gotta improve the AJAX routing to update the clipboard. I 
havent been using the clipboard yet if you know the involved api
calls right off hand feel free to provide a starting point this would save 
me from diggin through the whole api :)


> 2. - why should - clipboard should not needed because moving (should) base 
> on changing flexformpointer values (like
> I have added move up/down functionality).
Sorry i dont get it ? :)
BTW: could you add your issues to the bugtracker (ther is a project 
nh_tvdragndrop)

>be too early trying to combine our efforts?
Yes indeed, see above. But i like the idea in gerneral. You want to contact 
me on IRC to discuss further "cooperation" :)

> I looked the video. Seemst that you have taken account that TemplaVoila 
> can use alternative layout. But does the alternative layout be used?
Partly, depends on what do you mean by "alternative layouts" :)

> BTW. 1.3.1 might have access check to should button only if access to edit 
> record allowed. I added that
> for the classic page module. Concerning drag'drop might be problematic to 
> move contents, which are not  allowed to edit or delete? Not a big issue 
> anyway.
Yes thought about that too. At least the AJAX backend should be already 
aware of permission.

Thank you for feedback :)
Bye,
NIkolas 


More information about the TYPO3-project-templavoila mailing list