bvelichkov Posted November 2, 2012 Share Posted November 2, 2012 (edited) [sOLVED, see below] Hi, I am trying to transplant homefeatured module to displayTop. Added to homefeatured.php the following: public function hookDisplayTop($params) { $this->hookDisplayHome($params); } The backoffice says that the module transplant was successful. But nothing appears in displayTop in frontend. Any help appreciated. Edited November 2, 2012 by bvelichkov (see edit history) Link to comment Share on other sites More sharing options...
vekia Posted November 2, 2012 Share Posted November 2, 2012 (edited) Hi, I am trying to transplant homefeatured module to displayTop. Added to homefeatured.php the following: public function hookDisplayTop($params) { $this->hookDisplayHome($params); } The backoffice says that the module transplant was successful. But nothing appears in displayTop in frontend. Any help appreciated. use: public function hookdisplayTop($params) { $this->hookDisplayHome($params); } Edited November 2, 2012 by vekia (see edit history) 1 Link to comment Share on other sites More sharing options...
bvelichkov Posted November 2, 2012 Author Share Posted November 2, 2012 use: public function hookTop($params) { $this->hookDisplayHome($params); } Sorry, forgot to mention. Tried hookTop, also no success. Link to comment Share on other sites More sharing options...
vekia Posted November 2, 2012 Share Posted November 2, 2012 Sorry, forgot to mention. Tried hookTop, also no success. here is a working tutorial: How to move image slider module from home to top in PrestaShop Link to comment Share on other sites More sharing options...
bvelichkov Posted November 2, 2012 Author Share Posted November 2, 2012 here is a working tutorial: How to move image slider module from home to top in PrestaShop This is exactly what I am wondering for. I transplanted successfully the image slider at this position, now I want to put there also "Home featured products" module. And adding hookDisplayTop or hookTop does not do the job, nothing happens. If the module is hooked at displayHome, everything works well. If I unhook the module from displayHome and try to use displayTop or Top, the module dissappears at all. Link to comment Share on other sites More sharing options...
vekia Posted November 2, 2012 Share Posted November 2, 2012 oh im sorry I thought that the whole time we are talking about homeslider. Im checking this on my localhost, just wait for a while Link to comment Share on other sites More sharing options...
bvelichkov Posted November 2, 2012 Author Share Posted November 2, 2012 [sOLVED] But strange, when I use public function hookdisplayTop($params) { $this->hookDisplayHome($params); } does not work, but when I copied the contents of hookDisplayHome inside, it worked out. 1 Link to comment Share on other sites More sharing options...
bvelichkov Posted November 2, 2012 Author Share Posted November 2, 2012 Thanks for your efforts, vekia 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