JaroslavH Posted July 24, 2013 Share Posted July 24, 2013 (edited) Hi All, I have problem with ToTop module. If it is disabled, everything is okay. For example: If the module is enabled, do not load some pictures. Breaking down the path to images. For example: I attach the module. I have PrestaShop 1.5.4.0 totop.zip Edited July 25, 2013 by vekia (see edit history) Link to comment Share on other sites More sharing options...
vekia Posted July 24, 2013 Share Posted July 24, 2013 i checked the sources of the module and i think that the problem is with variable this_path that this module define: $smarty->assign('this_path', $this->_path); it's because bankwire uses the same variable definiton $this->smarty->assign(array( 'this_path' => $this->_path, 'this_path_ssl' => Tools::getShopDomainSsl(true, true).__PS_BASE_URI__.'modules/'.$this->name.'/' )); so at the end totop module overwrite this variable, and bankwire use variable from totop module solution just change the variable name in the totop module and everything will be okay (don't forget about .tpl file ) 1 Link to comment Share on other sites More sharing options...
JaroslavH Posted July 25, 2013 Author Share Posted July 25, 2013 Excellent. It's working. Thanks for the advice :-) Link to comment Share on other sites More sharing options...
vekia Posted July 25, 2013 Share Posted July 25, 2013 you're welcome im going to mark this thread as [solved] if you've got any other questions related to this case - feel free to write best regards 1 Link to comment Share on other sites More sharing options...
Recommended Posts