#19749overrideWithExtension uses hardcoded urls
Description
- new page create wizard
- new content element wizard
Both are configured by typoscript, eg:
mod.web_list.newPageWiz.overrideWithExtension = templavoila
mod.web_list.newContentWiz.overrideWithExtension = templavoila
If you use that the url to the wizard is hardcoded in core: mod1/index.php
This is bad as- extension who use this method have to use this directory
- you can’t use modules with _DISPATCH this way
Attached patch solves that and introduce a possibility to define this url by following vars:
$GLOBALS [‘TYPO3_CONF_VARS’][‘SC_OPTIONS’][‘newPageWiz’][‘extension’] = ‘mod.php?M=web_mymoduleM1’;
$GLOBALS [‘TYPO3_CONF_VARS’][‘SC_OPTIONS’][‘newContentWiz’][‘extension’] = ‘mod.php?M=tx_newcemod’;
If the url isn’t configured the old url is used to be compatible.
(issue imported from #M10028)
Reviews 0
No change resolves or names this issue in its commit message, and no comment links one.