Task #68395

Make CE copy action more flexible

Added by Mathias Schreiber about 6 years ago. Updated almost 4 years ago.

Status:
Closed
Priority:
Should have
Category:
Backend User Interface
Target version:
Start date:
2015-07-20
Due date:
% Done:

100%

Estimated time:
TYPO3 Version:
7
PHP Version:
Tags:
Complexity:
Sprint Focus:

Description

Primer

Web -> Page -> Languages
When we have content Elements in the default language a Button called "Copy default content elements (#)" shows up.
This button copies all content elements in this column and sets their `l18n_parent` to the uid of the CE being copied from.

Pro's and Con's

  • Pro
    • Easy to use
    • keeps l18n_parent intact
  • Con
    • No way to copy from a different language
    • keeps l18n_parent intact, thus no way to simply copy, not copy & reference

Keeping l18n_parent intact has some implications because the editor now works on references, rather on independent content.
In general the current way with referenced translations is fine.
But in order to translate independent content from a language, an editor needs to create all content elements again - resulting in a tedious task.

Proposed behavior

The button "copy default content elements (#)" is being replaced with a split button.
The dropdown part of the button contains the following options:
  • Translate from default language
  • Copy from language `Language name` (per Language that has content elements on this page)

If the latter case of copying from a language the content elements are truly copied, so no reference to a parent language will be set.
This will speed up the process for an editor in case the editor needs independent, translated content.


Related issues

Related to TYPO3 Core - Bug #61179: Flaws in copying a page with localized content elementsClosedOliver Hader2014-08-25

Actions
Related to TYPO3 Core - Task #69261: Reduce PageLayoutController and PageLayoutView dependenciesClosedOliver Hader2015-08-22

Actions

Also available in: Atom PDF