mztest
Joined: 06 Mar 2009 Posts: 1
|
Posted: 06 Mar 2009 - 11:40 am Post subject:
How to redirect user to login page?
|
|
|
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. |
|