Index: t3lib/class.t3lib_page.php =================================================================== --- t3lib/class.t3lib_page.php (revision 8160) +++ t3lib/class.t3lib_page.php (working copy) @@ -184,10 +184,11 @@ * * @param integer The page id to look up. * @param boolean If set, the check for group access is disabled. VERY rarely used + * @param array Additional params * @return array The page row with overlayed localized fields. Empty it no page. * @see getPage_noCheck() */ - function getPage($uid, $disableGroupAccessCheck=FALSE) { + function getPage($uid, $disableGroupAccessCheck = FALSE, $params = array()) { // Hook to manipulate the page uid for special overlay handling if (is_array($GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS']['t3lib/class.t3lib_page.php']['getPage'])) { foreach ($GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS']['t3lib/class.t3lib_page.php']['getPage'] as $classRef) { @@ -197,7 +198,7 @@ throw new UnexpectedValueException('$hookObject must implement interface t3lib_pageSelect_getPageHook', 1251476766); } - $hookObject->getPage_preProcess($uid, $disableGroupAccessCheck, $this); + $hookObject->getPage_preProcess($uid, $disableGroupAccessCheck, $this, $params); } } Index: t3lib/interfaces/interface.t3lib_pageselect_getpagehook.php =================================================================== --- t3lib/interfaces/interface.t3lib_pageselect_getpagehook.php (revision 8160) +++ t3lib/interfaces/interface.t3lib_pageselect_getpagehook.php (working copy) @@ -42,9 +42,10 @@ * @param integer The page ID * @param boolean If set, the check for group access is disabled. VERY rarely used * @param t3lib_pageSelect parent t3lib_pageSelect object + * @param array Optional parameters * @return void */ - public function getPage_preProcess(&$uid, &$disableGroupAccessCheck, t3lib_pageSelect $parentObject); + public function getPage_preProcess(&$uid, &$disableGroupAccessCheck, t3lib_pageSelect $parentObject, $params = array()); } Index: typo3/sysext/cms/tslib/class.tslib_content.php =================================================================== --- typo3/sysext/cms/tslib/class.tslib_content.php (revision 8160) +++ typo3/sysext/cms/tslib/class.tslib_content.php (working copy) @@ -6022,7 +6022,8 @@ } // Looking up the page record to verify its existence: - $page = $GLOBALS['TSFE']->sys_page->getPage($link_param,$disableGroupAccessCheck); + $params = array('sectionMark' => $sectionMark); + $page = $GLOBALS['TSFE']->sys_page->getPage($link_param, $disableGroupAccessCheck, $params); if (count($page)) { // MointPoints, look for closest MPvar: