[TYPO3-core] RFC: #8830: Missing "Save&Close" in template module Info/Modify

Steffen Kamper steffen at sk-typo3.de
Tue Jul 1 23:18:16 CEST 2008


Hi,

Dmitry Dulepov [typo3] schrieb:
> Hi!
> 
> Steffen Kamper wrote:
>> I've prepared the patch already, but i have to solve one issue first, 
>> because it's atm not possible to create the new record after existing, 
> 
> Put negative uid of the record as 'pid' in a call to 
> t3lib_main->process_cmdmap().

i don't mean uid, i'm talking of sorting. Created record has to be the 
"highest" sorting to be the last one. The method which is in core with 
setting
'sorting' => time()
tries to do, but doesn't affect, you also could write
'sorting' => 'do_please_do_me_the_last'

putting negative uid would mean that the sorting function handles it as 
workspace record.
> 
>> so it depends on finishing this issue first:
>> http://bugs.typo3.org/view.php?id=8872
> 
> The thing you are trying to fix in that bug does not work as you expect. 
> TCEmain determines sorting automatically. Do not break that logic.
> 

there is no break in logic. Have a look at olly's modification, it 
absolutely makes sense.


anyway, here is the patch "with" taking olly's modification into 
account, and it works perfect.

vg Steffen
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: 8830_template_saveclose_4.diff
Url: http://lists.netfielders.de/pipermail/typo3-team-core/attachments/20080701/4106538d/attachment.txt 


More information about the TYPO3-team-core mailing list