degga Posted February 20, 2016 Share Posted February 20, 2016 Good morning to everybody! I tried to write something in Smarty but the result has been really crapy. I'm using the "Image slider for your homepage" module ... but I need that it disappears after the user login. Please ... How can I do?! Thanks Link to comment Share on other sites More sharing options...
NemoPS Posted February 20, 2016 Share Posted February 20, 2016 Modify homeslider.php in its modules folder. Locate hookdisplayTopColumnAnd after if (!isset($this->context->controller->php_self) || $this->context->controller->php_self != 'index') return;Add:if($this->context->customer->id)return; Link to comment Share on other sites More sharing options...
degga Posted February 20, 2016 Author Share Posted February 20, 2016 (edited) Hi NEMO!!!! The code works gooooddd!!!! Thanks so much! I hope to be able to help you too next time!Best regards! Edited February 20, 2016 by degga (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