Mit feuserloginsystem habe ich den Redirect nach dem Login hinbekommen. Ich werde auf die neue Seite weitergeleitet, aber mein Frame mit Menu wird nicht mehr angezeigt. Könnt Ihr mir vielleicht einen Tipp geben. Vielen Dank
Verliere meinen Frame bei Redirect mit feuserloginsystem
Hat noch keiner das Problem gehabt? Ich habe noch wenig Erfahrung mit Typo und vermute, dass ich eher einen blöden Fehler mache.
Die Weiterleitung findet wohl in diesem Codestück statt. Ich verstehe nur nicht, warum mein Frame nicht mehr angezeigt wird.
* The method checks if redirection is enabled and configured. It checks redirection
* not only for logins but also for logouts. In the case that redirection is
* disabled or not configured, nothing is going to happen. Otherwise the user is
* going to be send to the specified page.
*
* @author Andre Obereigner <feuserloginsystem@obereigner.de>
*/
function checkRedirection() {
# LOGIN REDIRECTION
# Redirect user to another page if redirection is enabled and configured.
if($this->config['forceNoLoginRedirect'] != 1 && $this->config['submittedData']['logintype'] == 'login') {
$redirectPID = $this->getRedirectionPID('login');
if($redirectPID != 0) {
$loginRedirectUrl = $this->pi_getPageLink($redirectPID);
header('Location: '.t3lib_div::makeRedirectUrl($loginRedirectUrl));
exit;;
}
}
# LOGOUT REDIRECTION
# Redirect user to another page if redirection is enabled and configured.
if($this->config['forceNoLogoutRedirect'] != 1 && $this->config['submittedData']['redirectToUrlAfterLogout']) {
$logoutRedirectUrl = $this->pi_getPageLink($this->config['submittedData']['redirectToUrlAfterLogout']);
header('Location: '.t3lib_div::makeRedirectUrl($logoutRedirectUrl));
exit;
}
}