Can't see a redirect option in the ADDT restrict access to page SB - By default its the same redirect page as the failed login page which is a bit confusing.
How do you make a custom redirect with the restrict access SB so you have a page for 'access denied' as well as a page for 'login failed' ??
Restrict Access
Re: Restrict Access
I don't use ADDT but it could be that the actual config is stored in the same file as interakt.
Look at the tNG_config.inc.php file for the different redirects.
By default you only have a success_redirect and a failed_redirect. That would usually be your login page.
That makes sense because if someone wants to see a page and does not have access to it he might not be logged in.
If they do not have the required access level just echo a notice at the top of the page. As simple check to see if the login_level variable has been set should be enough.
If you want something else simply redefine the failed_redirect to a different page with a button to continue to the login/registration page.
Or don't I understand your question...?
Look at the tNG_config.inc.php file for the different redirects.
By default you only have a success_redirect and a failed_redirect. That would usually be your login page.
That makes sense because if someone wants to see a page and does not have access to it he might not be logged in.
If they do not have the required access level just echo a notice at the top of the page. As simple check to see if the login_level variable has been set should be enough.
If you want something else simply redefine the failed_redirect to a different page with a button to continue to the login/registration page.
Or don't I understand your question...?
-
- Posts: 58
- Joined: 2012-07-22 16:41
Re: Restrict Access
Is there any difference between ADDT and Kollection 3.7.1? We updated a couple of old sites built with Kollection 3.7.1 to ADDT - One of the main reasons was when installing a new machine we were unable to activate Kollection. They both run on PHP 5.3 with patched files and ADDT on Dreamweaver CS4 seems to crash and freeze quite a lot when we've been using it ...
Re: Restrict Access
Not sure about the differences between the two.
-
- Posts: 58
- Joined: 2012-07-22 16:41
Re: Restrict Access
Very little difference it seems ...