Project

General

Profile

Actions

Bug #89685

closed

TCAdefaults.pages.backend_layout not working for pages created via drag and drop

Added by Benjamin Robinson about 5 years ago. Updated over 4 years ago.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
-
Target version:
-
Start date:
2019-11-14
Due date:
% Done:

0%

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

Description

Most may not need such default, because they use backend_layout_next_level. Sometimes, however, it can be very helpful to disable backend_layout_next_level by hiding the field ( TCEFORM.pages.backend_layout_next_level.disabled = 1 ) and rather assign each page its own backend_layout. This way you can save slide queries and use very simple conditions like [page["backend_layout"] == 'pagets__home'].

The following does already work when a page is created via context menu (click on existing page: "More options" > "Create new wizard”):

TCAdefaults.pages.backend_layout = pagets__default

If a page is created by drag and drop of the page-type-icon, this default backend_layout will unfortunately not be saved, so far.


Related issues 3 (0 open3 closed)

Related to TYPO3 Core - Bug #89211: TCAdefaults.pages.hidden = 0 not working in TYPO3 9.5.9 and 10.1.0-dev using page tree drag & dropClosed2019-09-19

Actions
Related to TYPO3 Core - Bug #88918: Create page via drag'n'drop does not respect TCAdefaults in pagets [from #25021]Closed2019-08-05

Actions
Related to TYPO3 Core - Bug #82548: TCAdefaults not work on 2 positionsClosed2017-09-24

Actions
Actions

Also available in: Atom PDF