romainb33 Posted September 27, 2019 Share Posted September 27, 2019 Hello, I wish add a banner for sales, under the header. I want to create a new hook and a new container for change sometimes the banner. Thanks for your help and if someone if a french helper, tu peux écrire en français cela me permettra de ne pas galérer à comprendre^^ Romain. PS 1.6 Link to comment Share on other sites More sharing options...
NemoPS Posted September 27, 2019 Share Posted September 27, 2019 I think you can make a simple module that hooks to displayTopColumn, or edit header.tpl in your theme folder if the content doesn't need to be dynamic. If you do go for the module, you might want to check out my prestashop modules course, that's specifically for 1.6 and covers basically everything. Link to comment Share on other sites More sharing options...
romainb33 Posted September 27, 2019 Author Share Posted September 27, 2019 Can you tell me what lines to write in the header.tpl in my theme folder to embed my banner? thank you, Link to comment Share on other sites More sharing options...
NemoPS Posted September 29, 2019 Share Posted September 29, 2019 It depends on your banner, you can use an image tag. If you put it in your theme's img folder, it would be something like <img src="{$img_dir}/imagename.jpg"/> 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