You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
A widget that shows a simpler way to subscribe to a newsletter by just submiting your email. It also generates a password if a new member has bean created so he won't have problems registering in the future.
Please add this to the main release as this is a much simpler way to setup a newsletter without the need for userforms.
Add the attached php file to the ./newsletter/code/ catalog and apped these translations to ./newsletter/lang/:
en_US:
$lang['en_US']['NewsletterWidget']['CONFMAILSUBJECTVAL'] = 'Welcome to our newsletter!';
$lang['en_US']['NewsletterWidget']['CONFMAILBODYVAL'] = <<<BODY
Hello,
You have just successfully registered to our newsletter.
<% if RegisteredNewMember %>
You can also use the email address you passed do the newsletter to login to our websites forum, wiki, etc. using this password:
Password: \$Password
<% end_if %>
If you would wish to unsubscribe from this newsletter in the future you can do it by clicking on this link:
Unsubscribe link: \$UnsubscribeLink
BODY;
$lang['en_US']['NewsletterWidge']['CONFMAILSUBJECT'] = 'Confirmation mail subject';
$lang['en_US']['NewsletterWidge']['CONFMAILBODY'] = 'Confirmation mail body';
$lang['en_US']['NewsletterWidge']['EMAILADDED'] = 'Email added do newsletter';
$lang['en_US']['NewsletterWidge']['SUBMIT'] = 'Submit';
pl_PL:
$lang['pl_PL']['NewsletterWidget']['CONFMAILSUBJECTVAL'] = 'Witamy w naszym newletterze!';
$lang['pl_PL']['NewsletterWidget']['CONFMAILBODYVAL'] = <<<BODY
Witam.
W?a?nie doda?e? si? do naszego newslettera
<% if RegisteredNewMember %>
Adres email, który poda?e? mo?esz u?y? tak?e do zalogowania si? do naszego forum, wiki, itp. u?ywaj?c has?a:
Has?o: \$Password
<% end_if %>
Je?eli chcia? by? w przysz?o?ci wyrejestrowa? si? z tego newslettera mo?esz to zrobi? korzystaj?c z poni?szego linku:
Link do wyrejestrowania: \$UnsubscribeLink
BODY;
$lang['pl_PL']['NewsletterWidge']['CONFMAILSUBJECT'] = 'Tytu? listu z potwierdzeniem';
$lang['pl_PL']['NewsletterWidge']['CONFMAILBODY'] = 'Tre?? listu z potwierdzeniem';
$lang['pl_PL']['NewsletterWidge']['EMAILADDED'] = 'Email zosta? dodany do newslettera';
$lang['pl_PL']['NewsletterWidge']['SUBMIT'] = 'Wy?lij';
A widget that shows a simpler way to subscribe to a newsletter by just submiting your email. It also generates a password if a new member has bean created so he won't have problems registering in the future.
Please add this to the main release as this is a much simpler way to setup a newsletter without the need for userforms.
Add the attached php file to the ./newsletter/code/ catalog and apped these translations to ./newsletter/lang/:
en_US:
pl_PL:
Attachments: http://open.silverstripe.org/attachment/ticket/4429/pl_PL.php http://open.silverstripe.org/attachment/ticket/4429/SubscribeNewsletterWidget.php http://open.silverstripe.org/attachment/ticket/4429/SubscribeNewsletterWidget.ss
The text was updated successfully, but these errors were encountered: