Alain Costea Posted April 18, 2013 Share Posted April 18, 2013 (edited) Hello, I want to move the newsletter block from the left column, to the footer. Can you give me a hint? Thank you. Edited May 16, 2013 by Alain Costea (see edit history) Link to comment Share on other sites More sharing options...
tdr170 Posted April 18, 2013 Share Posted April 18, 2013 SEE HERE: http://www.prestashop.com/forums/topic/156743-solved-how-to-move-newsletter-block-to-footer-tried-everything/ Link to comment Share on other sites More sharing options...
Alain Costea Posted April 18, 2013 Author Share Posted April 18, 2013 Thank you. Link to comment Share on other sites More sharing options...
vekia Posted April 21, 2013 Share Posted April 21, 2013 I mark this thread as solved thanks for sharing usefull link to the valuable topic regards Link to comment Share on other sites More sharing options...
Alain Costea Posted April 21, 2013 Author Share Posted April 21, 2013 Well, it doesn't work for me these solutions. Everything i try it goes into a blank page... I have 1.5.4... In my .php file I fave: public function hookDisplayLeftColumn($params) { $this->_prepareHook($params); return $this->display(__FILE__, 'blocknewsletter.tpl', $this->getCacheId()); } public function hookFooter($params) { return $this->hookDisplayLeftColumn($params); } public function hookDisplayHeader($params) { $this->context->controller->addCSS($this->_path.'blocknewsletter.css', 'all'); } } Maybe I do something wrong. 1 Link to comment Share on other sites More sharing options...
Kogkalidis Posted May 16, 2013 Share Posted May 16, 2013 Well, it doesn't work for me these solutions. Everything i try it goes into a blank page... I have 1.5.4... In my .php file I fave: public function hookDisplayLeftColumn($params) { $this->_prepareHook($params); return $this->display(__FILE__, 'blocknewsletter.tpl', $this->getCacheId()); } public function hookFooter($params) { return $this->hookDisplayLeftColumn($params); } public function hookDisplayHeader($params) { $this->context->controller->addCSS($this->_path.'blocknewsletter.css', 'all'); } } Maybe I do something wrong. It didn't work also for me and made one trick.. Just make the registration of the hook (not the install part) then inside put whatever has left column inside.. It worked for me ver. 1.5.2 Best regards, Konstantinos 1 Link to comment Share on other sites More sharing options...
Alain Costea Posted May 16, 2013 Author Share Posted May 16, 2013 Thank you. Meanwhile, i bought a theme... that already had what i want. Thank you for yor post. Link to comment Share on other sites More sharing options...
vekia Posted May 16, 2013 Share Posted May 16, 2013 thanks for the information that your issue is solved, i just want to say, that most important things are: registerhook('footer') in installation function hookfooter($param) function with this two elements, module will work there regards 1 Link to comment Share on other sites More sharing options...
Kogkalidis Posted May 16, 2013 Share Posted May 16, 2013 (edited) Finally there were some issues with that.. But my alternative worked (Cleared cache and everything and works properly). What I did is moving the module in the last position of the left column and then with css (positon: relative; top: xxx px; left: xxx px) moving it to the footer position where i want it.. Optional: css of footer (z-index: -1) in order to bring the footer back and module to show up.. Optional no 2.. Changing appearance of module in its css.. dimensions, color, icon blah blah.. You can check my e-shop to see the result! Edited May 16, 2013 by Λόχος Ορεινών Καταδρομών (see edit history) 1 Link to comment Share on other sites More sharing options...
vekia Posted May 16, 2013 Share Posted May 16, 2013 Finally there were some issues with that.. But my alternative worked (Cleared cache and everything and works properly). What I did is moving the module in the last position of the left column and then with css (positon: relative; top: xxx px; left: xxx px) moving it to the footer position where i want it.. Optional: css of footer (z-index: -1) in order to bring the footer back and module to show up.. Optional no 2.. Changing appearance of module in its css.. dimensions, color, icon blah blah.. You can check my e-shop to see the result! hey can you please share the url to your store? it is in your profile signature? i know that this is offtopic, but read the forum rules: http://www.prestashop.com/forums/topic/50158-prestashopcom-forum%E2%80%99s-rules-suggestions-for-use/ "nickname avatars and signatures" Link to comment Share on other sites More sharing options...
Kogkalidis Posted May 16, 2013 Share Posted May 16, 2013 hey can you please share the url to your store? it is in your profile signature? i know that this is offtopic, but read the forum rules: http://www.prestasho...stions-for-use/ "nickname avatars and signatures" Yeah it is in my signature!! Link to comment Share on other sites More sharing options...
Recommended Posts