Jump to content

Personalize block newsletter


Recommended Posts

@Snade: i don't want to change "only" the text newsletter. Thx anyway :D

@MrBaseball34: I want to change the dimension of the white box where there is "submit to newsletter" and i want to change the text in something that is more catchy than a "cold" notice.

 

Sry for my bad english :D

Thx to all

Link to comment
Share on other sites

Hi

so, you want to change not only the text, but the looks too.

Ok, read my last post again :D

 

Change the text in the translations(or directly in the .tpl file), then change the looks in the css file.

 

If you want to change the html structure, you can edit the tpl file, but I think you dont need that.

 

Anyway, play with the css and tpl file, there is all you need.

  • Like 1
Link to comment
Share on other sites

  • 3 months later...

How can i personalize blocknewsletter?

I want to write a phrase to attract the clients to subscribe at my newsletter.

How can i do this?

 

Thanks to all

 

Hello Durghe,

Snade didn't get what you want!

 

To add a text in the newsletter block:

1- open the file /modules/blocknewsletter/blocknewsletter.tpl

2- insert your text with a simple {l='your text'} just after the <div class="block_content">

 

Your code should look like this:

 

<!-- Block Newsletter module-->

 

<div id="newsletter_block_left" class="block">

<h4>{l s='Newsletter' mod='blocknewsletter'}</h4>

<div class="block_content">

{l s='INSERT YOUR TEXT HERE'}

{if isset($msg) && $msg}

...

  • Like 1
Link to comment
Share on other sites

  • 2 months later...

Hi there

I'm trying to do exactly what you have described here (want to add 'subscribe to our newsletter and get free shipping on your next order' into the subscribe sidebox), and for some reason my newsletter block is not updating with the amended text - am I missing something? I'm amending the blocknewsletter.tpl file in my modules folder but nothing is changing on the site....

 

I'm quite new to Prestashop (a convert from Zencart) so not sure if there's something i've missed.

 

Thanks

 

Sara

 

ps the site is www.diy-wedding-favours.com

Edited by sajiepaj (see edit history)
Link to comment
Share on other sites

  • 1 month later...

Like Snade said:

 

in the admin panel, click on Tools

then click on Translations on the menu bar below

under Modify Translations dropdown menu, select Translations of Installed Modules

then select the flag that pertains to your primary language

scroll down to about 3/4 of the page until you get to blocknewsletter

next to Newsletter = (enter whatever you want your h4 to say on the block)

scroll all the way to the bottom of the page and click Update Translations

 

You should be good! =)

Link to comment
Share on other sites

  • 1 month later...
  • 1 year later...

Hi Prestashop apprentice,

 

This

 

<!-- Block Newsletter module-->

<div id="newsletter_block_left" class="block">
<h4>{l s='Newsletter' mod='blocknewsletter'}</h4>
<div class="block_content">
{l s='INSERT YOUR TEXT HERE'}
{if isset($msg) && $msg}

 

is exactly what I did, but it's not showing up (I work in 1.5.3.1). It does however show up in translations in my BO (but I cannot change the translations since the text area is red). Any ideas how to solve this?  

Link to comment
Share on other sites

×
×
  • Create New...