[TYPO3-english] How can I redirect login url if user is logged in?

François Suter fsu-lists at cobweb.ch
Sun Jun 17 15:20:42 CEST 2012


Hi,

> If user is not logged in, how can I redirect link to login?

Well, you have to create a page where the login form resides. Then you 
point to this page with:

config.typolinkLinkAccessRestrictedPages = xx (where "xx" is the id of 
your page)

With the additional configuration:

config.typolinkLinkAccessRestrictedPages_addParams = 
&return_url=###RETURN_URL###&pageId=###PAGE_I D###

the login page will receive the URL to return to.

Or did I misunderstand your question?

Cheers

-- 

Francois Suter
Cobweb Development Sarl - http://www.cobweb.ch


More information about the TYPO3-english mailing list