hicham72 Posted March 17, 2012 Share Posted March 17, 2012 Hi I want to restrict the access to the client portal to registred customers. How can i do this Best regards H 0 Quote Link to comment Share on other sites More sharing options...
laszlof Posted March 17, 2012 Share Posted March 17, 2012 Add this code to the top of homepage.tpl {if $loggedin != 1} <script> document.location.href = 'login.php'; </script> {/if} 0 Quote Link to comment Share on other sites More sharing options...
hicham72 Posted March 19, 2012 Author Share Posted March 19, 2012 thank you very mutch 0 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.