Sa ustawione przysyłanie wiadomości w module ebiuletyn. Tak wygląda treść
pliku Newsletter w katalogu Mails (w katalogu en, mówisz, mogę ustawić treść wiadomości? chodziłoby mi, aby pojawiło się w niej logo sklepu i krótka treść):
Newsletter w {shop_name}
{message}
{shop_name} oparty na systemie PrestaShop™
to zawiera plik En w blocknewsletter:<?php
global $_MODULE;
$_MODULE = array();
to zawiera plik pl w blocknewsletter:<?php
global $_MODULE;
$_MODULE = array();
$_MODULE['<{blocknewsletter}sklep>blocknewsletter_416f61a2ce16586f8289d41117a2554e'] = 'Twój email';
to plik blocknewsletter:{*
* 2007-2011 PrestaShop
*
* NOTICE OF LICENSE
*
* This source file is subject to the Academic Free License (AFL 3.0)
* that is bundled with this package in the file LICENSE.txt.
* It is also available through the world-wide-web at this URL:
*
http://opensource.org/licenses/afl-3.0.php* If you did not receive a copy of the license and are unable to
* obtain it through the world-wide-web, please send an email
* to license@prestashop.com so we can send you a copy immediately.
*
* DISCLAIMER
*
* Do not edit or add to this file if you wish to upgrade PrestaShop to newer
* versions in the future. If you wish to customize PrestaShop for your
* needs please refer to
http://www.prestashop.com for more information.
*
* @author PrestaShop SA <contact@prestashop.com>
* @copyright 2007-2011 PrestaShop SA
* @version Release: $Revision: 1.4 $
* @license
http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
* International Registered Trademark & Property of PrestaShop SA
*}
<!-- Block Newsletter module-->
<div class="block newsletter">
{if $lang_iso == 'pl'}
<h4>
Bądź na bieżąco!</h4>
<p>
Dołącz do Newslettera!</p>
{elseif $lang_iso == 'ru'}
<h4>
Будьте в курсе!</h4>
<p>
Регистрировать!</p>
{elseif $lang_iso == 'en'}
<h4>
Keep up to date!</h4>
<p>
Join the Newsletter!</p>
{/if}
{if isset($msg) && $msg}
<p class="{if $nw_error}warning_inline{else}success_inline{/if}">{$msg}</p>
{/if}
<form action="{$link->getPageLink('index.php')}" method="post">
<p><input type="text" name="email" size="18" value="{if isset($value) && $value}{$value}{else}{l s='e-mail' mod='blocknewsletter'}{/if}" onfocus="javascript:if(this.value=='{l s='e-mail' mod='blocknewsletter'}')this.value='';" onblur="javascript:if(this.value=='')this.value='{l s='e-mail' mod='blocknewsletter'}';" class="input_buttonnewsletter" /><input type="submit" value="{l s='Submit' mod='blocknewsletter'}" class="buttonnewsletter" name="submitNewsletter" /></p>
<p>
<select name="action">
<option value="0"{if isset($action) && $action == 0} selected="selected"{/if}>{l s='Zapisz się' mod='blocknewsletter'}</option>
<option value="1"{if isset($action) && $action == 1} selected="selected"{/if}>{l s='Wypisz się' mod='blocknewsletter'}</option>
</select>
</p>
</form>
</div>
<!-- /Block Newsletter module-->
Może muszę utworzyć nową wiadomość w html i wpisać jej nazwę do pliku tpl blocknewsletter by się wysyłała z automatu? Takiej wiadomości nie idzie wpisać z poziomu panelu presty do modułu ebiuletynu, co czyni konfiguracje tych modułów bardzo ubogie w BO.