这对我有用:http :
//www.typo3multishop.com/forum/list_post/fix-how-to-make-multishop-compatible-with-typo-6-x-582/(我使用的是 jQuery 1.8.x- 1.9.x-1.2.js)
这里是代码,以防链接消失:
代替:
$pageRenderer->addBodyContent(LF . $pageContent);
if (!empty($GLOBALS['TSFE']->config['INTincScript']) && is_array($GLOBALS['TSFE']->config['INTincScript'])) {
// Store the serialized pageRenderer in configuration
$GLOBALS['TSFE']->config['INTincScript_ext']['pageRenderer'] = serialize($pageRenderer);
// Render complete page, keep placeholders for JavaScript and CSS
$GLOBALS['TSFE']->content = $pageRenderer->renderPageWithUncachedObjects($GLOBALS['TSFE']->config['INTincScript_ext']['divKey']);
} else {
// Render complete page
$GLOBALS['TSFE']->content = $pageRenderer->render();
}
在typo3/sysext/frontend/Classes/Page/PageGenerator.php 通过
$pageRenderer->addBodyContent(LF . $pageContent);
if (!empty($GLOBALS['TSFE']->config['INTincScript']) && is_array($GLOBALS['TSFE']->config['INTincScript'])) {
// Store the serialized pageRenderer in configuration
$GLOBALS['TSFE']->config['INTincScript_ext']['pageRenderer'] = serialize($pageRenderer);
// Render complete page, keep placeholders for JavaScript and CSS
$GLOBALS['TSFE']->content = $pageRenderer->renderPageWithUncachedObjects($GLOBALS['TSFE']->config['INTincScript_ext']['divKey']);
// Multishop fix
$GLOBALS['TSFE']->content = $pageRenderer->render();
} else {
// Render complete page
$GLOBALS['TSFE']->content = $pageRenderer->render();
}
归功于 Georg Ringer 和 Bas van Beek
我在 Typo3 6.1.x 下安装 Multishop 时遇到的其他一些问题: