Actions
Bug #19749
closedoverrideWithExtension uses hardcoded urls
Status:
Closed
Priority:
Should have
Assignee:
-
Category:
-
Target version:
-
Start date:
2008-12-28
Due date:
% Done:
0%
Estimated time:
TYPO3 Version:
4.3
PHP Version:
5.3
Tags:
Complexity:
Is Regression:
No
Sprint Focus:
Description
There are two wizards that you can override by extension:
- 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)
Files
Actions