Jump to content

Move Position Of Bloc Newsletter


Recommended Posts

I want to move the bloc newsletter from the footer to above like the picture below7UVjT.png

I've tried to change the code inside the module in the function install I changed footer by home,

I also change this in the public function

public function hookHome($params)
{
return $this->hookDisplayHome($params);
}

It was called hookfooter.

None of this works

anykind of help will bemuch appreciated

Link to comment
Share on other sites

Maybe I need more information to help you

 

1) You change the function on the module but Do you reinstall the module ?  if not  Prestashop doesn't know that you change the hooks the don't use it

 

2) You are going to need to change the template to get that look  

Link to comment
Share on other sites

ok you need understand how these work

 

each module have hooks to use on the front end

 

when you change foot by home just change the hook to use

 

but when call the function you talk where find the tpl 

 

block newsletter don't have hookDisplayHome($params);

 

you need change 

return $this->hookDisplayHome($params);

 

to 

 

return $this->hookDisplayLeftColumn($params);

 

 

then go to tpl and change how these display the info

  • Like 1
Link to comment
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...