Project

General

Profile

Actions

Bug #19749

closed

overrideWithExtension uses hardcoded urls

Added by Steffen Kamper almost 16 years ago. Updated about 11 years ago.

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

overrideWithExtension.diff (6.75 KB) overrideWithExtension.diff Administrator Admin, 2008-12-28 15:03
overrideWithExtension_v2.diff (8.55 KB) overrideWithExtension_v2.diff Administrator Admin, 2008-12-28 16:12
Actions #1

Updated by Xavier Perseguers almost 13 years ago

  • Assignee deleted (Steffen Kamper)
  • Target version deleted (0)
Actions #2

Updated by Alexander Opitz over 11 years ago

  • Status changed from Accepted to Needs Feedback

As this report is very old, is the handling in newer TYPO3 CMS Versions (like 6.0/6.1) more like you expect it?

Actions #3

Updated by Alexander Opitz about 11 years ago

  • Status changed from Needs Feedback to Closed
  • Is Regression set to No

No feedback for over 90 days.

Actions

Also available in: Atom PDF