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

Task City taskingme at yahoo.com
Sun Jun 17 15:01:51 CEST 2012


Hello!

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

Thanks and Regards!
Jeson



________________________________
 From: François Suter <fsu-lists at cobweb.ch>
To: typo3-english at lists.typo3.org 
Sent: Sunday, June 17, 2012 6:45 PM
Subject: Re: [TYPO3-english] How can I redirect login url if user is logged in?
 
Hi Jeson,

> Has anyone know how can I redircect to login page if user is logged in a specified page of protection, but not  to show the page not found by default on typo3 itself?

Yes. Look at property config.typolinkLinkAccessRestrictedPages in the TypoScript reference:

http://typo3.org/documentation/document-library/core-documentation/doc_core_tsref/4.7.0/view/1/6/#id1556666

You will also have to set up the felogin extension so that it redirects to the original page after login. For this please refer to the felogin manual.

HTH

-- 
Francois Suter
Cobweb Development Sarl - http://www.cobweb.ch
_______________________________________________
TYPO3-english mailing list
TYPO3-english at lists.typo3.org
http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-english


More information about the TYPO3-english mailing list