Project

General

Profile

Actions

Bug #102290

open

Hide "un-/hide" button for localized records if hidden-field has l10n_mode=exclude

Added by Ayke Halder about 1 year ago. Updated about 1 month ago.

Status:
Under Review
Priority:
Should have
Assignee:
-
Category:
Backend User Interface
Target version:
-
Start date:
2023-10-30
Due date:
% Done:

0%

Estimated time:
TYPO3 Version:
13
PHP Version:
Tags:
UX
Complexity:
Is Regression:
Sprint Focus:

Description

In case of using the connected translation mode it might be useful to handle and set the hidden-state on the original record only.

For translated records the TCA field 'hidden' can get overlayed by the original record - see l10n_mode

$GLOBALS['TCA']['tt_content']['columns']['hidden']['l10n_mode'] = 'exclude';

With this configuration the translated record can't change its hidden-state anymore – perfect.

But the buttons to un-/hide the record are still visible - although not functioning - in the backend:

Module page

Current state:

Module page - current state

Should be:

Module page - should be

Module list

Current state:

Module list - current state

Should be:

Module list - should be


Files

clipboard-202310301625-g0qhu.png (137 KB) clipboard-202310301625-g0qhu.png Module page - current state Ayke Halder, 2023-10-30 15:25
clipboard-202310301627-k0cpe.png (42.2 KB) clipboard-202310301627-k0cpe.png Module list - current state Ayke Halder, 2023-10-30 15:27
clipboard-202310301629-unhkn.png (132 KB) clipboard-202310301629-unhkn.png Module page - should be Ayke Halder, 2023-10-30 15:29
clipboard-202310301631-abqr8.png (37.6 KB) clipboard-202310301631-abqr8.png Module list - should be Ayke Halder, 2023-10-30 15:31
Actions

Also available in: Atom PDF