[TYPO3] Redirection to Login-Page - and back
Daren Thomas
daren.thomas at pvcomp.ch
Tue Jan 24 16:58:04 CET 2006
Dear List,
I have tried for the better part of this afternoon to get this working
and have to fall back to asking someone more experienced with typo3:
you.
The site I'm building has roughly following structure:
+- Home *
+- Extranet *
+- Site *
+- About us
+- some sub-pages
+- A very important page
+- important sub-page (PROTECTED)
(* meens not in menu)
The Extranet-Page contains a Login box (yes, I have also tried the
newloginbox, also with the extension with redirection).
I am trying to achieve the following behavior:
- User opens protected "important sub-page"
- User is redirected to Extranet
- User logs on
- User is redirected to "important sub-page"
I have set the "showAccessRestrictedPages" setting in the site template,
so the "important sub-page" appears in the menu, I also used
"showAccessRestrictedPages.addParams =
&return_url=###RETURN_URL###&pageId=###PAGE_ID###", so when the
"important sub-page" is redirected to the Extranet page, the return_url
parameter is set to the url of the "important sub-page".
But what should I do with that parameter after login? Current behavior:
User is informed that the login was successfull, current page is
Extranet.
Thank you for your time and patience,
Daren Thomas
More information about the TYPO3-english
mailing list