Download  |  Search  |  Log in  |  FAQ  |  Memberlist  |  Online  |  TYPO3.org Developer Resource
Home » TypoScript » Other
Post new topic   Reply to topic Page 1 of 1 [1 Post] How to redirect user to login page?
Author Message
mztest



Joined: 06 Mar 2009
Posts: 1

PostPosted: 06 Mar 2009 - 11:40 am    Post subject:  How to redirect user to login page? Reply with quote

How to redirect user to login page if they try to access page that is restricted.

For example:
1. abc.html is restricted page.
2. login.html (id :5)

if the user try to type http://xxx.com/abc.html to access this page, how to redirect him to login page.

I tried to add code to typo3 template->Setup: option.
Line:  Code:
1
2
config.typolinkLinkAccessRestrictedPages_addParams = &return_url=###RETURN_URL###&pageId=###PAGE_ID###
 Show complete code


but it still does not work.

please help me, thank you for reply.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic Page 1 of 1 [1 Post] View previous topic :: View next topic
Home » TypoScript » Other
Jump to:  

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum