Jump to content
hybrid59

Mettre le bloc Newsletter dans le footer

Recommended Posts

Bonjour à tous,

 

J'utilise la dernière version de prestshop je souhaiterai mettre le bloc newsletters dans le footer, mais dans le back office c'est impossible, comment puis-je contourné cela ?

 

Merci d'avance pour vos réponses.

Share this post


Link to post
Share on other sites

Go into the blocknewsletter.php file then find this code:

function hookRightColumn($params)
{
  return $this->hookLeftColumn($params);
}

and change it to this:

function hookRightColumn($params)
{
  return $this->hookLeftColumn($params);
}	  
function hookFooter($params)
{
  return $this->hookLeftColumn($params);
}

Then go into the module positions tab in the back office and click "transplant a module", select "Newsletter Block" as module and "Footer" as hook and "save".

And you have done!

Tested and working in version 1.4.7

Share this post


Link to post
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now

×
×
  • Create New...

Important Information

Cookies ensure the smooth running of our services. Using these, you accept the use of cookies. Learn More