kingsinnersoul Posted July 2, 2010 Share Posted July 2, 2010 Hello there Prestashop engineers, I have been trying dozens of things to do this, but all in vain. I have modified the "Footer links block v0.1" (in the modules/blockvariouslinks/ folder)I made a table there and I wish that in one of the cell the Newsletter block will show. I created a new hook called footernewsletter in the hook database. Then, I have inserted {$HOOK_FOOTERNEWSLETTER} in the blockvariouslinks.tpl file. I tried to make it show there, changed and added lines in the blockvariouslinks.php. Nothing worked for me. I am new to this and read few posts here about how to create new hooks and all. But I can't make it show where I want to. Please, can some one explain me what I need to do as in modifying the code?Please Help. Link to comment Share on other sites More sharing options...
zwacklmann Posted January 11, 2011 Share Posted January 11, 2011 The blocknewsletter Module by default is not intended to be positioned in the footer. That's why you'll have to make some alternations in the module itself.Inside blocknewsletter/blocknewsletter.php you'll find the following lines of code function hookRightColumn($params) { return $this->hookLeftColumn($params); } replace them with the following: function hookRightColumn($params) { return $this->hookLeftColumn($params); } function hookFooter($params) { return $this->hookLeftColumn($params); } done. Link to comment Share on other sites More sharing options...
SonnyBoyII Posted July 11, 2011 Share Posted July 11, 2011 Thanks for that zwacklmann. It works. Link to comment Share on other sites More sharing options...
Vinc3nzo Posted November 16, 2011 Share Posted November 16, 2011 hello! no work for me, prestashop: 1.4.5.1 :/ Link to comment Share on other sites More sharing options...
Santscho Posted November 24, 2011 Share Posted November 24, 2011 Also can't make this work :-( I even can't find blockvariouslinks.tpl in my prestashop 1.4.5.1 Please advise Link to comment Share on other sites More sharing options...
luisalov Posted December 12, 2011 Share Posted December 12, 2011 do what zwacklmann suggests, then go to modules->positions->transplant a module in field "module" select "newsletter block" in field "hook into" select "footer" and save Link to comment Share on other sites More sharing options...
coucouenfr Posted January 6, 2012 Share Posted January 6, 2012 hi, luisalov fallowing your tips, it was not work could you please give us more detail about that process? thanks a lot! Link to comment Share on other sites More sharing options...
marlon Posted September 3, 2012 Share Posted September 3, 2012 Hola, ingenieros por favor no logro configurar el "newsletter block" para que me aparezca en footer , sigo los pasos anteriormente mencionados. no me carga el hook, muchas gracias 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