DDC Posted July 26, 2012 Share Posted July 26, 2012 Salut , am o curiozitate , exista o optiune sau un modul sa poti intra pe site doar dupa ce te loghezi ? Link to comment Share on other sites More sharing options...
lightsb Posted July 26, 2012 Share Posted July 26, 2012 Salut, Ai 2 variante (prima varianta este cam ce ai intrebat): - http://www.etiendas.co/en/etiendas-prestashop-modules/10-authorized-client-members-only-shopping.html - sau exista un modul hide price (doar dupa autentificare vezi preturile) Bafta. Link to comment Share on other sites More sharing options...
DDC Posted July 26, 2012 Author Share Posted July 26, 2012 Multumesc , dar nu ma refeream chiar la asta. Vreau cand intra cineva pe site , sa fie doar nume si parola , sa nu poata sa faca nimic altceva decat dupa autentificare . Link to comment Share on other sites More sharing options...
lightsb Posted July 26, 2012 Share Posted July 26, 2012 ok .. bafta la cautari. Link to comment Share on other sites More sharing options...
valentin.g Posted July 26, 2012 Share Posted July 26, 2012 (edited) modifica in classes/FrontController functia preProcess public function preProcess() { if (!self::$cookie->isLogged() && self::$smarty->tpl_vars['page_name']->value !== 'authentication') Tools::redirect('authentication.php'); } apoi va trebui sa creezi o pagina similara cu authentication si modifici codul de mai sus corespunzator bafta ! Edited July 26, 2012 by valentin.g (see edit history) 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