Jump to content

[solved] Problem ToTop module


Recommended Posts

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 ;))

  • Like 1
Link to comment
Share on other sites

×
×
  • Create New...