Bug #17517

newloginbox -> redirect

Added by David Bruchmann about 14 years ago. Updated about 3 years ago.

Status:
Closed
Priority:
Should have
Category:
felogin
Target version:
-
Start date:
2007-08-10
Due date:
% Done:

0%

Estimated time:
TYPO3 Version:
PHP Version:
Tags:
Complexity:
Is Regression:
Sprint Focus:

Description

Newloginbox has most featuers for redirecting build in, but the variable 'redirect_url' is only known when it's inside the Post/Get-Data.
The Feature of Redirecting per Typoscript can be enabled by changing line 89 of the class in file tx_newloginbox_p1,php from

[OLD]
$redirect_url = t3lib_div::GPvar('redirect_url')

[TO NEW]
$redirect_url = t3lib_div::GPvar('redirect_url') ? t3lib_div::GPvar('redirect_url') : $this->conf['redirect_url'] ;

In Typoscript now the variable 'redirect_url' can be changed and additionally is overwritten when present in the Post/Get-Data.

(issue imported from #M6120)

Also available in: Atom PDF