Bug #89685

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

Added by Ben Robinson over 2 years ago. Updated over 2 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

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
#1

Updated by Riccardo De Contardi over 2 years ago

Related, I think:

#89211

#88918

#82548

#2

Updated by Ben Robinson over 2 years ago

  • Related to Bug #89211: TCAdefaults.pages.hidden = 0 not working in TYPO3 9.5.9 and 10.1.0-dev using page tree drag & drop added
#3

Updated by Ben Robinson over 2 years ago

  • Related to Bug #88918: Create page via drag'n'drop does not respect TCAdefaults in pagets [from #25021] added
#4

Updated by Ben Robinson over 2 years ago

  • Related to Bug #82548: TCAdefaults not work on 2 positions added
#5

Updated by Susanne Moog over 2 years ago

  • Status changed from New to Closed

This is not only related to #89211 - it's a duplicate. TCAdefaults in general is currently not taken into account. I'm going to close this issue - let's continue in #89211.

Also available in: Atom PDF