[TYPO3-core] RFC: #7265: Submodules of Web module can't work with mod.php and the _DISPATCH system

Steffen Kamper info at sk-typo3.de
Mon Dec 8 21:51:00 CET 2008


Hi,

this is a SVN patch request

Type: Bugfix

BT Reference: http://bugs.typo3.org/view.php?id=7265

Branches: trunk, 4_2, 4_1

Problem:
When using the new mod.php system for backend modules, problems arise 
when module is a submodule of Web module.

Error is like:

Value "web_utestmodM1&id=123" for "M" was not found as a module.

Solution:

The problem comes from page tree. The solution is really trivial, i 
wonder as this exists a long time why noone looked into.

The problem is in alt_dbnavframe.php in the JS-function jumpTo where JS 
adds ?id=xyz
With using mod.php the URL has a ? before, its like
mod.php?M=web_txmodulenameM1?id=1

So solution is - look for existence of ?, if true use & instead of ?

vg Steffen

-------------- next part --------------
A non-text attachment was scrubbed...
Name: 7265.diff
Type: text/x-diff
Size: 1063 bytes
Desc: not available
Url : http://lists.netfielders.de/pipermail/typo3-team-core/attachments/20081208/a42764c2/attachment.diff 


More information about the TYPO3-team-core mailing list