Hello!
Does someone know how to move the "Newsletter feature" from Footer section to Header section?
It is possible to copy that feature & paste in Header section?
Best regards,
J.P.
Hello!
Does someone know how to move the "Newsletter feature" from Footer section to Header section?
It is possible to copy that feature & paste in Header section?
Best regards,
J.P.
Hi,
According to the newsletter module source code it can be transplanted into the displayLeftColumn, displayRightColumns and displayFooter hooks only.
In general, if you do not have, for example, Right Sidebar with Hook Right Column in the theme you can transplant Newsletter module into the displayRightColumn hook in PrestaShop and output the content of this hook using CMS Code control in the Themler:
{hook h="displayRightColumn" blockId="5"}
Thank you,
Olivia
Hello,
Thank you for your response.
I've added a CMS Code in "Header section" like this:
<form class=" bd-newsletter-1 form-inline" method="get" name="newsletterform" action="{$path}">
<div class="bd-container-inner">
<div class="bd-newsletter-wrapper">
<div class="bd-input-wrapper">
<input type="text" name="email" class=" bd-bootstrapinput-3 form-control ac_input" placeholder="Wpisz adres e-mail" />
</div>
<div class="bd-button-wrapper">
<input type="submit" value="Zapisz" class=" bd-button-9" name="submitNewsletter" />
</div>
</div>
</div>
{if isset($smarty.get.theme_name)}<input type="hidden" name="theme_name" value="{$smarty.get.theme_name}" />{/if}
</form>
Could you tell my if this code in "Header section" will works fine?
Best regards,
J.P.
Hi,
It may work but you will not be able to style it in Themler.
Thank you,
Olivia