teJ20 Posted February 20, 2012 Share Posted February 20, 2012 Hy there, sorry if I'm not posting in the correct area. I want to hide the entire site (but not login), and reveal it after they login/register. It's possible the set another page then index if is not loged in, so I can create a page of my own? Link to comment Share on other sites More sharing options...
CartExpert.net Posted February 20, 2012 Share Posted February 20, 2012 Hello, You can check it user is logged in, if not redirect to login/register page. Link to comment Share on other sites More sharing options...
teJ20 Posted February 20, 2012 Author Share Posted February 20, 2012 Hello, You can check it user is logged in, if not redirect to login/register page. yes, but i can make my own login/register page? Link to comment Share on other sites More sharing options...
CartExpert.net Posted February 20, 2012 Share Posted February 20, 2012 What do you mean? Why would you create a new page? Link to comment Share on other sites More sharing options...
PrestaHeroes USA Posted February 20, 2012 Share Posted February 20, 2012 look at controllers/FrontController.php here you can add code, if not logged in, display a page... Link to comment Share on other sites More sharing options...
teJ20 Posted February 21, 2012 Author Share Posted February 21, 2012 done! thanks guys. Link to comment Share on other sites More sharing options...
CartExpert.net Posted February 21, 2012 Share Posted February 21, 2012 Happy we could help. Please mark topic as [sOLVED]. 1 Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now