Bug #82548
closed
TCAdefaults not work on 2 positions
Added by Carsten Hager about 7 years ago.
Updated over 4 years ago.
Description
When I create a page by the toolbar above the pagetree (drag-drop)
TCAdefaults.pages.layout = 1 -> work
When I create a page about "Web-> Functions"
TCAdefaults.pages.layout = 1 -> does not work
When I create a page using "Right-click in the Page Tree - New"
TCAdefaults.pages.layout = 1 -> does not work
Files
- Status changed from New to Needs Feedback
i can't reproduce in current master and wizard. can you recheck there as well? thx.
Hey Georg,
with current master 8.7.8 dev, i have the same effect.
See GIF
Tested with 8.7.9:
Create a page by the toolbar above the pagetree (drag-drop)> works
Create a page using "Right-click in the Page Tree - New" > works
Create a pate using "List view - New" > works
Create a page with "Web-> Functions" > does not work
- Status changed from Needs Feedback to New
Current master 9.3-dev
Create a page by the toolbar above the pagetree (drag-drop) > does not work
Create a page using "Right-click in the Page Tree - New" > works
Create a pate using "List view - New" > works
Controller/SimpleDataHandlerController.php checks only the TCAdefaults from the beUser
Tested with 9.5:
TCAdefaults.pages.hidden = 0
Create a page by the toolbar above the pagetree (drag-drop)> does not work
Create a page using "Right-click in the Page Tree - New" > works
Create a pate using "List view - New" > works
Create a page with "Web-> Functions" > works
TCAdefaults.pages.cache_tags = TEST
Create a page by the toolbar above the pagetree (drag-drop)> does not work
Create a page using "Right-click in the Page Tree - New" > works
Create a pate using "List view - New" > works
Create a page with "Web-> Functions" > does not work
...
- Related to Bug #59383: Create page via drag'n'drop does not respect TCAdefaults from UserTS added
- Has duplicate Bug #87089: TYPO3 Pagetree: New pages must respect TCAdefaults.pages.hidden = 0 and other properties added
- 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
- Related to Bug #89685: TCAdefaults.pages.backend_layout not working for pages created via drag and drop added
I performed the test on 10.4.0-dev (latest master) using the following page TSConfig configuration:
TCAdefaults.pages.hidden = 0
TCAdefaults.pages.no_search = 1
TCAdefaults.pages.cache_tags = TEST
TCAdefaults.pages.backend_layout = 6
these are the results:
- Create a page by the toolbar above the pagetree (drag-drop)> does not work
- Create a page using "Right-click in the Page Tree - New" > works
- Create a pate using "List view - New" > works
- Create a page using "Right-click in the Page Tree - More options - Create new wizard" > works
- Create a page using "Right-click in the Page Tree - More options - Create multiple pages" has a mixed behavior:
- TCAdefaults.pages.hidden = 0 works (maybe because they're not hidden by default); while the others don't work
- Status changed from New to Accepted
- Status changed from Accepted to Closed
This has the same cause (and solution) as #89211 - closing as duplicate, please continue there.
Also available in: Atom
PDF