[TYPO3-core] RFC: #16350: Feature: Enhance IRRE to allow new records to appear at the top

Andreas Kiessling kiessling at pluspol.info
Thu Nov 11 13:41:09 CET 2010


Hi,

This is an SVN patch request.

Type: Feature

BT reference: http://bugs.typo3.org/view.php?id=16350

Branches: trunk

Problem: The current implementation for new IRRE records adds them after 
all or after an existing record.
There are some cases, when the ordering of the list is not relevant or 
if you sort the records e.g. by date, the newest one should be displayed 
at the top.
If the list of records is very long, the only visual feedback you get is 
a growing scrollbar, so some people click "Create new" several times 
until they realize that something already happend.

Solution: add new config option "newRecordPosition" in the appearance 
section
prototype already has actions to make an "Insertion.Top", so the only 
big change is to let IRRE use that function and reorder the list of 
records right.

How to test:
- install the extension "irre_tutorial" and import the sample t3d to get 
something to work on
- add the content of the attachment extTables.txt to your extTables.php 
to create all new relations in the first level at the top
- edit the records, create new relations, save them.

They should all appear at the top of the list and be saved in the right 
order.

Note: there will be an error after saving records on the page "m:n 
asymmetric combo", but this has nothing do to with the patch.
See http://bugs.typo3.org/view.php?id=15996 for that.

Regards,
Andreas
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: extTables.txt
URL: <http://lists.typo3.org/pipermail/typo3-team-core/attachments/20101111/f077c916/attachment.txt>
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: rfc16350_docChanges.txt
URL: <http://lists.typo3.org/pipermail/typo3-team-core/attachments/20101111/f077c916/attachment-0001.txt>
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: 16350_v1.patch
URL: <http://lists.typo3.org/pipermail/typo3-team-core/attachments/20101111/f077c916/attachment-0002.txt>


More information about the TYPO3-team-core mailing list