Bug #14300
closed
Javascript GUI control in the BE, type Files or ImageFiles, ordering item broken
Added by old_sylvain about 20 years ago.
Updated over 18 years ago.
Description
This type of GUI control available often in the BE is now broken.
When you hit the «move upward» item, they are moved to the top. Should be one item up. It's pretty difficult to order item in such list. For example in template or in image content record
(issue imported from #M332)
Files
This isn't new - at least since 3.5b3, isn't it?
I have changed the severity status to feature
Not new effectively, but it's worse now.
In TYPO3 3.5, it wasn't working for the first item your were trying to move, but worked well after. Now it doesn't work at all. Was tested with Communicator 4.78.
I liked the concept of this widget, and think it really useful.
I'm not agree about the «feature» severity regarding the description here:
http://bugs.typo3.org/doc/documentation.html#severity
I would left it as minor or may be «tweak», because, it should be relatively easy to fix. An old bug, should not become a feature.
Seeing that the image is called *totop.gif and a function which moves the item to top I am not sure if it was the original intention to just move the item one position upwards.
-> So the 'bug' might be just a misleading helptext to the button ('Move select item upwards').
I have attached a patch and the whole file class.t3lib_tceforms.php which generates two new buttons (up+down) as well as two images which should be saved int typo3/gfx/ folder.
I have also introduced two options for diasbling these fields - but please be carefull: If these buttons are not disabled you will see them all the time.
(you still have to add the helptext in typo3/sysext/langlocal/lang_core.xml - label "labels.move_up" and "labels.move_down"
hth so far. (all code for typo 3.7.0rc1 -cvs)
this is fixed in 3.8.0dev (and beta 2.1) .
Also available in: Atom
PDF