Task #84749

Hide the "duplicate" button by default

Added by Rens Admiraal about 1 year ago. Updated 8 months ago.

Status:
Closed
Priority:
Should have
Assignee:
Category:
Backend User Interface
Target version:
-
Start date:
2018-04-16
Due date:
% Done:

100%

TYPO3 Version:
9
PHP Version:
Tags:
Complexity:
Sprint Focus:

Description

With https://forge.typo3.org/issues/77685 the "duplicate" button was introduced. This was added for all tables except sys_file_metadata, and was always visible.

The original feature request was meant for an exotic usecase (custom extension, where multiple new records had to be created in a sequence with just a single field to change). As in most cases this would not apply for records it's better to hide the field by default.

Associated revisions

Revision a0d0752e (diff)
Added by Rens Admiraal about 1 year ago

[FEATURE] Hide "duplicate" button by default

Hides the "duplicate" button in TCEFORMs by default as it serves
a very specific usecase best enabled on a table basis.

Example snippet:
```
options.showDuplicate = 1
options.showDuplicate.[table] = 1
```

Resolves: #84749
Releases: master
Change-Id: Ia15202e197b81ff4d97f6e71b673910ec7cded93
Reviewed-on: https://review.typo3.org/56686
Tested-by: TYPO3com <>
Reviewed-by: Mathias Schreiber <>
Tested-by: Mathias Schreiber <>
Reviewed-by: Wouter Wolters <>
Reviewed-by: Frans Saris <>
Reviewed-by: Richard Haeser <>
Tested-by: Richard Haeser <>
Reviewed-by: Frank Naegler <>
Tested-by: Frank Naegler <>

History

#1 Updated by Gerrit Code Review about 1 year ago

  • Status changed from New to Under Review

Patch set 1 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/56686

#2 Updated by Gerrit Code Review about 1 year ago

Patch set 2 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/56686

#3 Updated by Rens Admiraal about 1 year ago

  • Status changed from Under Review to Resolved
  • % Done changed from 0 to 100

#4 Updated by Benni Mack 8 months ago

  • Status changed from Resolved to Closed

Also available in: Atom PDF