Feature #23954
closedCreate new Element Button always inserts new record at the bottom
0%
Description
If you have configured 'newRecordLinkPosition' => 'both' in TCA the Button at the top of the list always inserts the new element at the bottom and not as expected on the top.
For a long list, it would be very helpful, to get a new element on the top.
(issue imported from #M16264)
Updated by Andreas Kießling almost 14 years ago
Check out http://bugs.typo3.org/view.php?id=16350
The patch is pending in core list. Please try out and give feedback there.
It does not check which button is clicked, but you can set the position where to insert the new record.
Updated by Webadmin no-lastname-given almost 14 years ago
I think this patch will not solve this issue. If we have an insert button on top, it should insert new elements by default on top and an insert button at the bottom should insert new elements at the bottom.
I think your patch could be a good way to manipulate this default behavoiur.
Updated by Andreas Kießling almost 14 years ago
Changing the default behaviour to always insert new records at the top, if the button is at the top will probably break a lot of setups.
How about a parameter for "newRecordPosition" like "buttonPosition" to toggle that behaviour?
Updated by Webadmin no-lastname-given almost 14 years ago
It would be fine if the parameter "newRecordPosition" although has the value "auto" to force an insert at top or bottom depending on the button position (if the "bottomPosition" is set to "both")
Updated by Andreas Kießling almost 14 years ago
I've updated the patch. Please test.
It is against 4.5 trunk but applies to 4.4 trunk with some offset.
Updated by Webadmin no-lastname-given over 13 years ago
The attached patch works fine in 4.5. It would solve our problem.
Updated by Thorsten Kahler over 12 years ago
- Category set to 978
- Target version deleted (
0)
Updated by Alexander Opitz almost 10 years ago
Closing as duplicate of feature #24019
Updated by Susanne Moog about 9 years ago
- Status changed from New to Closed
Closed in light of comment #8.