Project

General

Profile

Actions

Feature #76910

closed

PageLayoutView - Allow to disable copy- / translate- buttons

Added by Philipp Schlosser almost 8 years ago. Updated almost 5 years ago.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
Backend User Interface
Target version:
-
Start date:
2016-07-01
Due date:
% Done:

100%

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

Description

Could there be an option to configure visibility of the "translate" and "copy" buttons (see Screenshot - I use TYPO3 7.6.9).

In \TYPO3\CMS\Backend\View\PageLayoutView following data-attributes were set to the button .t3js-localize in Line 1828 and 1829 :
' data-allow-copy="' . (int)$allowCopy . '"'
' data-allow-translate="' . (int)$allowTranslate . '"'

if you set $allowCopy or $allowTranslate manually to 0 the button for copying or translating your content will disappear, but you have no opportunity to do this by a configuration or by a hook.


Files

translate-copy-button.png (48.2 KB) translate-copy-button.png Philipp Schlosser, 2016-07-01 15:26

Related issues 1 (1 open0 closed)

Related to TYPO3 Core - Bug #92564: Mixed content problem through translation button in list viewNew2020-10-14

Actions
Actions

Also available in: Atom PDF