Project

General

Profile

Actions

Bug #104852

open

New content elements without group are added to group "-"

Added by Lina Wolf 3 months ago. Updated about 2 months ago.

Status:
Accepted
Priority:
Should have
Assignee:
Category:
Backend User Interface
Target version:
-
Start date:
2024-09-07
Due date:
% Done:

0%

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

Description

With https://review.typo3.org/c/Packages/TYPO3.CMS/+/73488 new content elements are automatically added to the "New content elements" wizard.

When you add a content element like this:

ExtensionManagementUtility::addTcaSelectItem(
    'tt_content',
    'CType',
    [
        'label' => 'LLL:EXT:examples/Resources/Private/Language/locallang.xlf:examples_dataprocdb_title',
        'value' => 'examples_dataprocdb',
        'icon' => 'mimetypes-x-content-table',
    ],
);

Therefore without a group it is added to the very top in the CType select field and to a tab with caption "-" in the wizard.

I would suggest to add it to the group "default" instead. The group name "default" implies that it is the default group indeed.


Files

Actions

Also available in: Atom PDF