[TYPO3-seminars] Problem with redirect

Stephan Bauer stephan_bauer at gmx.de
Mon Apr 12 20:42:17 CEST 2010


Thank you both.

I had to select 'defined by GET/POST-Vars' as redirection mode and add 
this little patch:

Index: typo3/sysext/felogin/pi1/class.tx_felogin_pi1.php
===================================================================
--- typo3/sysext/felogin/pi1/class.tx_felogin_pi1.php	(revision 7285)
+++ typo3/sysext/felogin/pi1/class.tx_felogin_pi1.php	(working copy)
@@ -484,7 +484,7 @@
  			$extraHidden = implode(chr(10), $extraHiddenAr);
  		}

-		if (!$gpRedirectUrl && $this->redirectUrl && $this->logintype === 
'login') {
+		if (!$gpRedirectUrl && $this->redirectUrl) {
  			$gpRedirectUrl = $this->redirectUrl;
  		}

This is the subject of post from Steffen Kamper in typo3.teams.core
Re: [TYPO3-core] RFC: #10327: [felogin] redirecting to referer does not work


schrieb Oliver Klee:
> Hi,
>
> Philipp Gampe schrieb:
>> may I suggest: (from typo3.englisch)
> [snip]
>> Instead the GET parameter should be "referer", like this:
>> config.typolinkLinkAccessRestrictedPages_addParams =
>> &referer=###RETURN_URL###
>
> Is there anything official on this?
>
> (I'd like to be sure that this works in TYPO3 4.2 up to 4.4 and will not
> stop working because it is an undocumented, unofficial feature.)
>
>
> Oliver



More information about the TYPO3-project-seminars mailing list