akps1234 Posted June 2, 2016 Share Posted June 2, 2016 (edited) The "Image slider for Home page" by Prestashop disappears overnight. No updates, clearing cash or any other changes have been made. The Slider status in back office shows "Enabled". The Hook is attached to "displayTopColumn" Oddly enough, it is displayed correctly in the same Home page (index page) for the registered customers. This happens once in a while unexpectedly. Clearing cash restores the appearance of the slider, though. But this is quite annoying. The PS version is 1.6.1.5 Any ideas why this is happening? Thank you. Edited June 2, 2016 by akps1234 (see edit history) Link to comment Share on other sites More sharing options...
daveyrow Posted August 11, 2016 Share Posted August 11, 2016 Unfortunatelly i have same problem, with template "Smile" nad $HOOK_HOME_TOP_COLUMN, where my banner randomly disapears. ill try to debug it but dont know if ill find anything Link to comment Share on other sites More sharing options...
jwd19 Posted August 24, 2016 Share Posted August 24, 2016 Dear guys I've the same problem. overnight the slider dissapears, after clearing the cache it will show up again. but indeed this is frustrating. How to fix ? Link to comment Share on other sites More sharing options...
jwd19 Posted September 7, 2016 Share Posted September 7, 2016 i have the same thing, how is this even possibly and how to fix this a.s.a.p. ?? Link to comment Share on other sites More sharing options...
daveyrow Posted September 12, 2016 Share Posted September 12, 2016 (edited) Maybe i found the problem. If you use ovic template or other, which allows you to move modules to diferrent hooks, like in ovic template builder. You maybe moved module to hook, which is not registered in the module (homeslider) install method. I moved my Homeslider to hook 'DISPLAYHOMETOPCOLUMN' , but its not registered in homeslider module, and it starts to disappear randomly. So register it in homeslider install method (/modules/homeslider/homeslider.php line:67) (i didnt find a way, how to add it via admin, if anyone knows, please correct me) /* Adds Module */ if (parent::install() && $this->registerHook('displayHeader') && $this->registerHook('displayTopColumn') && $this->registerHook('actionShopDataDuplication') && $this->registerHook('displayHomeTopColumn') // custom ) and reinstall the module homeslider (Image slider for your homepage). I hope it will help you. Edited September 12, 2016 by daveyrow (see edit history) Link to comment Share on other sites More sharing options...
originmad Posted January 6, 2017 Share Posted January 6, 2017 (edited) I had same issue and finally solved it. Slider disappear because of that module not hooked correctly. ( like daveyrow said). If anyone experience same issue that daveyrow solution is correct but not enough. You need to find below code public function hookdisplayTop($params) { return $this->hookdisplayTopColumn($params); } and need to add same for your new module position ( add below code) public function hookactionShopDataDuplication($params) { return $this->hookdisplayTopColumn($params); } after change navigate to admin -> ovic theme config -> layout builder -> Configure ( your current layout) from this page you can easily override your module hook position with new one (Hover over module and select override hook) * Maybe the last step is unnecessary but i couldn't test it. Edited January 6, 2017 by originmad (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