[TYPO3-german] felogin After logout redirect to page gelöst
Jochen Graf
graf at uni-landau.de
Mon Feb 16 11:24:02 CET 2009
Hallo,
ich hatte das Problem, dass bei der Option felogin > "After logout
redirect to page" nicht ging, da die Seite geschützt war, ungeschützt
ging das ganze.
Nun habe ich heute morgen eine Lösung in einem Forum gefunden und das
klappt gut.
In der Datei class.tx_felogin_pi1.php die folgenden Zeilen ersetzten.
// if config.typolinkLinkAccessRestrictedPages is set, the var is return_url
// $returnUrl = t3lib_div::_GP('return_url');
// if ($returnUrl) {
// $this->redirectUrl = $returnUrl;
// }
Ersetzen durch
// if config.typolinkLinkAccessRestrictedPages is set, the var is return_url
$returnUrl = t3lib_div::_GP('return_url');
if ($returnUrl) {
$this->redirectUrl = $returnUrl;
} elseif
($this->pi_getPageLink($GLOBALS['TSFE']->id)<>substr($_SERVER['REQUEST_URI'],1))
{
$this->redirectUrl =
substr($_SERVER['REQUEST_URI'],1);
} else {
$this->redirectUrl = t3lib_div::_GP('redirect_url');
}
http://www.traum-projekt.com/forum/112-typo3/113408-felogin-redirect-3.html
evtl. kann das jemand gebrauchen.
--
Mit freundlichen Grüssen
Jochen Graf
Universität Koblenz-Landau / Campus Landau
Arbeitstelle Multimedia/Technik-Administration
Thomas-Nast-Str. 44
76829 Landau
mail: graf at uni-landau.de
fon: 06341-990-224
web:http://www.paeps.technik.uni-landau.de
web:http://www.paeps.uni-landau.de
web:http://www.bite.uni-landau.de
More information about the TYPO3-german
mailing list