[TYPO3-german] Seitentyp "Shortcut" -> Link zu Anker
Ralf-Rene Schröder
ralf.rene at online.de
Tue Jul 23 21:04:12 CEST 2013
Am 23.07.2013 16:08, schrieb JoH asenau:
> http://typo3.org/extensions/repository/view/kb_bettershortcut
> Bin aber nicht sicher, ob das immer noch funktioniert ;-)
gerade mal in der 6.1.1 getestet...
im BE klappt es, aber im Frontend leider nicht...
Uncaught TYPO3 Exception
#1301648404: This page (ID 50) is of type "Shortcut" and configured to
redirect to a page, which is not accessible (ID 0). (More information)
TYPO3\CMS\Core\Error\Http\PageNotFoundException thrown in file
/home/clients/www/clients/client1/web1/web/iff61/typo3_src-6.1.1/typo3/sysext/frontend/Classes/Controller/TypoScriptFrontendController.php
in line 1545.
6
TYPO3\CMS\Frontend\Controller\TypoScriptFrontendController::getPageShortcut("tt_content_35",
"0", "50")
/home/clients/www/clients/client1/web1/web/iff61/typo3_src-6.1.1/typo3/sysext/frontend/Classes/Controller/TypoScriptFrontendController.php:
01448: // target and we need to follow the new target
01449: $this->originalShortcutPage = $this->page;
01450: $this->page = $this->getPageShortcut($this->page['shortcut'],
$this->page['shortcut_mode'], $this->page['uid']);
01451: $this->id = $this->page['uid'];
01452: }
5
TYPO3\CMS\Frontend\Controller\TypoScriptFrontendController::getPageAndRootline()
/home/clients/www/clients/client1/web1/web/iff61/typo3_src-6.1.1/typo3/sysext/frontend/Classes/Controller/TypoScriptFrontendController.php:
01741: */
01742: public function getPageAndRootlineWithDomain($domainStartPage) {
01743: $this->getPageAndRootline();
01744: // Checks if the $domain-startpage is in the rootLine. This is
necessary so that references to page-id's from other domains are not
possible.
01745: if ($domainStartPage && is_array($this->rootLine)) {
4
TYPO3\CMS\Frontend\Controller\TypoScriptFrontendController::getPageAndRootlineWithDomain(NULL)
/home/clients/www/clients/client1/web1/web/iff61/typo3_src-6.1.1/typo3/sysext/frontend/Classes/Controller/TypoScriptFrontendController.php:
01338: // We store the originally requested id
01339: $requestedId = $this->id;
01340: $this->getPageAndRootlineWithDomain($this->domainStartPage);
01341: $GLOBALS['TT']->pull();
01342: if ($this->pageNotFound &&
$this->TYPO3_CONF_VARS['FE']['pageNotFound_handling']) {
3 TYPO3\CMS\Frontend\Controller\TypoScriptFrontendController::fetch_the_id()
/home/clients/www/clients/client1/web1/web/iff61/typo3_src-6.1.1/typo3/sysext/frontend/Classes/Controller/TypoScriptFrontendController.php:
01184: $GLOBALS['TT']->pull();
01185: // Now, get the id, validate access etc:
01186: $this->fetch_the_id();
01187: // Check if backend user has read access to this page. If not,
recalculate the id.
01188: if ($this->beUserLogin && $this->fePreview) {
2 TYPO3\CMS\Frontend\Controller\TypoScriptFrontendController::determineId()
/home/clients/www/clients/client1/web1/web/iff61/typo3_src-6.1.1/typo3/sysext/cms/tslib/index_ts.php:
00130: $TSFE->checkAlternativeIdMethods();
00131: $TSFE->clear_preview();
00132: $TSFE->determineId();
00133: // Now, if there is a backend user logged in and he has NO access
to this page, then re-evaluate the id shown!
00134: if ($TSFE->isBackendUserLoggedIn() &&
(!$BE_USER->extPageReadAccess($TSFE->page) ||
\TYPO3\CMS\Core\Utility\GeneralUtility::_GP('ADMCMD_noBeUser'))) {
1
require("/home/clients/www/clients/client1/web1/web/iff61/t…ypo3_src-6.1.1/typo3/sysext/cms/tslib/index_ts.php")
/home/clients/www/clients/client1/web1/web/iff61/typo3_src-6.1.1/index.php:
00039: ->redirectToInstallToolIfLocalConfigurationFileDoesNotExist();
00040:
00041: require(PATH_tslib . 'index_ts.php');
00042: ?>
--
image[FORMAT] - Ralf-René Schröder
http://www.image-format.eu ... Wir geben Ihrem Image das richtige Format
More information about the TYPO3-german
mailing list