Bug #16679
closedButton for 'Save document and create new one' doesn't load right element
0%
Description
The button for doing that must be enbaled in UserTsConfig:
options.saveDocNew = 1
F.e. when you're in an images-element and clicking this button a new text element is created NOT a new images-element. This is a bug, i can remember it was working in pre 4.x versions of typo (correct me if i'm wrong!!).
(issue imported from #M4451)
Updated by Christian Trabold about 18 years ago
I can not reproduce this feature in 3.8.0 but you can activate that feature by your own by adding the field "CType" to the "useColumnsForDefaultValues" property in TCA for tt_content.
Example:
$TCA['tt_content']['ctrl']['useColumnsForDefaultValues'] = 'colPos,sys_language_uid,CType';
BUT there is a little drawback if you use the Create-New-Element-Wizard with this setting. Your selection in the Wizard is not recognized anymore.
Updated by Typoheads - Web Engineering about 18 years ago
$TCA['tt_content']['ctrl']['useColumnsForDefaultValues'] = 'colPos,sys_language_uid,CType';
works pretty well, but YES the wizards takes the last element you saved and not which was selected in the wizard. thats a nogo.. :-( really combersome to make a workaround for this problem, however, maybe someone has an idea?