#107098Move element from lists to default in mod.wizards.newContentElement.wizardItems not working
Description
Example: remove element from lists and add to default:
mod.wizards.newContentElement.wizardItems {
lists.removeItems := addToList(table)
default.show := addToList(table)
# also not working
# default.show = table
# common.show = table
# common.show := addToList(table)
}
The table element is removed from the lists tab but not added to the common/default tab.
Reviews 0
No change resolves or names this issue in its commit message, and no comment links one.
Related issues 1
History 5
-
Garvin Hicking changed Related to #102834 <span data-processor="relativetime" data-value="2025-07-15T05:50:41+00:00" > 07/15/25, 05:50 </span>
-
Garvin Hicking commented and changed status
NewNeeds Feedback <span data-processor="relativetime" data-value="2025-07-15T05:52:40+00:00" > 07/15/25, 05:52 </span> -
Garvin Hicking changed category <span data-processor="relativetime" data-value="2025-07-15T05:52:59+00:00" > 07/15/25, 05:52 </span>
-
Stefan Terborg commented <span data-processor="relativetime" data-value="2025-07-15T06:09:11+00:00" > 07/15/25, 06:09 </span>
Changing TCA works:
// move table from lists to default in newContentElement wizard foreach ($GLOBALS['TCA']['tt_content']['columns']['CType']['config']['items'] as $key => $itemConfig) { if ($itemConfig['value'] === 'table') { $GLOBALS['TCA']['tt_content']['columns']['CType']['config']['items'][$key]['group'] = 'default'; } }If this can only be changed via TCA it should be pointed out in the documentation. The doc seems to say you could change the TCA setting with TSConfig.
-
Garvin Hicking commented and changed status
Needs FeedbackClosed <span data-processor="relativetime" data-value="2025-07-15T06:56:31+00:00" > 07/15/25, 06:56 </span>> If this can only be changed via TCA it should be pointed out in the documentation.
Sure! Could you report an issue on the documentation page you found this information to be missing? Then then documentation team can take care! Please also add the link to this issue for context (and/or the changelog links I gave).
Thanks a lot! I’ll close the issue here :)
I think this is due to #102834 :
https://docs.typo3.org/c/typo3/cms-core/main/en-us/Changelog/13.0/Breaking-102834-RemoveItemsFromNewContentElementWizard.html
https://docs.typo3.org/c/typo3/cms-core/main/en-us/Changelog/13.0/Feature-102834-Auto-registrationOfNewContentElementWizardViaTCA.html