typo3-rector
typo3-rector copied to clipboard
Breaking: #97701 - TSconfig option showNewContentWizard removed
Breaking: #97701 - TSconfig option showNewContentWizard removed
https://docs.typo3.org/c/typo3/cms-core/master/en-us/Changelog/12.0/Breaking-97701-RemovedTsConfigOptionShowNewContentWizard.html .. include:: /Includes.rst.txt
.. _breaking-97701-1655154047:
=============================================================== Breaking: #97701 - TSconfig option showNewContentWizard removed
See :issue:97701
Description
The TSconfig option :typoscript:mod.web_layout.disableNewContentElementWizard
has been used to explicitly disable the content element wizard. When set,
a new Content Element of type "Text" was created by default, which was then
changed to a different Content Type.
Along with this the option :typoscript:mod.newContentElementWizard.override
has
been removed, as it served a similar purpose to override the route name itself.
Impact
Both TSconfig options have no effect anymore. TYPO3 behaves as if the options were never set.
Affected installations
TYPO3 installations having one of these options explicitly enabled.
Migration
Remove the TSconfig settings as they have no effect anymore.
Instead, use other TSconfig options to adapt the "New Content Element Wizard"
to your needs. You can find according examples in
:file:EXT:frontend/Configuration/page.tsconfig
.
It is also possible to create a custom backend route in your extension code to reimplement both functionalities in a custom TYPO3 Extension, if this option is still relevant for you.
If you overwrite the fluid template :file:EXT:backend/Resources/Private/Partials/PageLayout/Record.html
you have to adjust your template accordingly and remove the "if" condition
checking for {item.column.context.drawingConfiguration.showNewContentWizard}
.
.. index:: Backend, Fluid, TSConfig, PartiallyScanned, ext:backend
see e.g. \Ssch\TYPO3Rector\Rector\v12\v0\typoscript\RemoveDisablePageExternalUrlOptionRector
as reference
Something happened with this change, the https://docs.typo3.org/c/typo3/cms-core/master/en-us/Changelog/12.0/Breaking-97701-RemovedTsConfigOptionShowNewContentWizard.html is throwing an 404
Must be related to this change, https://github.com/TYPO3/typo3/commit/85c2b1d5172abfa9f663b9c23677d9cf2aaa5150
The correct URL is: https://docs.typo3.org/c/typo3/cms-core/main/en-us/Changelog/12.0/Breaking-97701-RemovedTsConfigOptionDisableNewContentElementWizard.html
Relates: #3153