[TYPO3] Redirection to Login-Page - and back

Daren Thomas daren.thomas at pvcomp.ch
Wed Jan 25 15:55:11 CET 2006


Could someone please point me to some source of documentation on this
problem? 

-----Original Message-----
From: typo3-english-bounces at lists.netfielders.de
[mailto:typo3-english-bounces at lists.netfielders.de] On Behalf Of Daren
Thomas
Sent: Tuesday, January 24, 2006 4:58 PM
To: typo3-english at lists.netfielders.de
Subject: [TYPO3] Redirection to Login-Page - and back

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
_______________________________________________
TYPO3-english mailing list
TYPO3-english at lists.netfielders.de
http://lists.netfielders.de/cgi-bin/mailman/listinfo/typo3-english



More information about the TYPO3-english mailing list