#93626Add option for FileList > Replace > keepFilename
Description
An option to preselect the option “Keep the current filename?” (<input type="checkbox" id="keepFilename" ...>) in \TYPO3\CMS\Filelist\Controller\File\ReplaceFileController would be handy.
As the very few file list related config options are all User TSconfig file_list.* this could e.g. be file_list.replace.keepFilename:
file_list.replace.keepFilename
------------------------------
:aspect:`Datatype`
list of keywords
:aspect:`Description`
Determines whether the checkbox "Keep the current filename?" is shown or hidden when replacing a file.
If it is hidden, you can predefine it to be always activated or always deactivated.
The following values are possible:
activated
The option is activated and the checkbox is hidden.
activated-selectable
The option is activated and the checkbox is shown.
deactivated
The option is deactivated and the checkbox is hidden.
selectable
The option is deactivated and the checkbox is shown.
:aspect:`Default`
selectableReviews 0
No change resolves or names this issue in its commit message, and no comment links one.
History 3
-
Georg Ringer commented and changed status
NewNeeds Feedback <span data-processor="relativetime" data-value="2026-10-09T18:24:22+00:00" > 10/09/26, 18:24 </span> -
Georg Tiefenbrunn commented <span data-processor="relativetime" data-value="2026-10-09T22:03:42+00:00" > 10/09/26, 22:03 </span>
Georg Ringer wrote in #note-1:
> Is there still a need for hiding or enforcing the option, now that it is preselected by default? If there is no feedback, I suggest to close this issue.No. This is obsolet since #96442. Please close this issue.
Thanks for your ongoing support and dedication! -
Georg Ringer changed status
Needs FeedbackClosed <span data-processor="relativetime" data-value="2026-10-10T04:33:28+00:00" > 10/10/26, 04:33 </span>
Part of this has been addressed in the meantime: since TYPO3 v12.0 the checkbox “Keep the current filename?” is checked by default when replacing a file (#96442, “[TASK] Set “keepFilename” to true by default”).
Additionally, with v14 the “Replace file” view has been reworked into a modal dialog (#107435).
ReplaceFileControllerand its template no longer exist; the dialog is now rendered client-side.What is still not possible is to hide the checkbox or to enforce a fixed value, e.g. via User TSconfig
file_list.replace.keepFilenameas proposed above. If this is implemented, the setting would also need to be enforced server-side when processing the replace request, otherwise a hidden but enforced option could simply be bypassed by sending a different value.Is there still a need for hiding or enforcing the option, now that it is preselected by default? If there is no feedback, I suggest to close this issue.