Issue Bug Closed

#14449Typolink-generation with mount points does not work over multiple domains

Marco Geweke 12/14/04, 11:59 updated 08/12/06, 14:20

Description

When mounting a page that comes from a tree with another domain record, the generation of links to subpages of the mounted page is faulty.
config.typolinkCheckRootline has to be activated to reproduce this.

The error-message:

Error! The requested page didn’t have a proper connection to the tree-root!
(MP value remain!)

The generated links point to the domain record of the mounted page, but they should point to the domain of the mountpage instead. TYPO3 adds the &MP=xxx to the wrong domain resulting in the error message above when following the link.

I added a quick (and dirty?) patch to class.tslib_content.php that solves the problem in our case. I don’t know, if it will work in all cases.

—- class.tslib_content_unpatched.php 2004-12-14 11:37:30.000000000 0100
+++ class.tslib_content.php 2004-12-14 11:52:07.000000000 +0100
@@ -4985,6 +4985,7
}
// Add “&MP” var:
if (count($MPvarAcc)) {
$tCR_domain = ‘’; // don’t use another domain for links to subpages of the mounted page
$addQueryParams.= ‘&MP=’.rawurlencode(implode(‘,’,$MPvarAcc));
}
// If other domain, overwrite

This patch is also attached as file. It was made to version 3.7.0.
(issue imported from #M608)

Reviews 0

No change resolves or names this issue in its commit message, and no comment links one.