Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Breaking: #78549 - Override New Page Creation Wizard via page TSconfig #630

Closed
sabbelasichon opened this issue Nov 4, 2019 · 0 comments · Fixed by andreaswolf/fractor#245

Comments

@sabbelasichon
Copy link
Owner

Breaking: #78549 - Override New Page Creation Wizard via page TSconfig

https://docs.typo3.org/c/typo3/cms-core/master/en-us/Changelog/8.5/Breaking-78549-OverridePagePositionMapWizardViaPageTSconfig.html

.. include:: ../../Includes.txt

======================================================================

Breaking: #78549 - Override New Page Creation Wizard via page TSconfig

======================================================================

See :issue:78549

Description

===========

In the past it was possible to override the "New Page Creation Wizard" via custom scripts

when using page TSconfig via :ts:mod.web_list.newPageWiz.overrideWithExtension = myextension to define an extension,

which then needed a file placed under :file:mod1/index.php. The script was then called with certain parameters instead

of the wizard.

The new way of handling entry-points and custom scripts is now built via modules and routes. The former option

:ts:mod.web_list.newPageWiz.overrideWithExtension has been removed and a new option

:ts:mod.newPageWizard.override has been introduced instead. Instead of setting the option to a certain extension key,

a custom module or route has to be specified.

Example:

.. code-block:: typoscript

mod.newPageWizard.override = my_custom_module

Impact

======

Using the old TSconfig option :ts:mod.web_list.newPageWiz.overrideWithExtension has no effect anymore and

will fallback to the regular new page creation wizard provided by the TYPO3 Core.

Affected Installations

======================

Any installation using this option with extensions providing custom New Page Wizards, e.g. EXT:templavoila.

Migration

=========

The extension providing the script must be changed to register a route or module and set the TSconfig option to the route identifier,

instead of a raw PHP script. Any usages in TSconfig need to be adapted to use the new TSconfig option.

.. index:: Backend, TSConfig

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants