... | ... |
@@ -67,6 +67,8 @@ class NewsNotifications extends \System |
67 | 67 |
$Notification->send(array |
68 | 68 |
( |
69 | 69 |
'member_email' => $Members->email, |
70 |
+ 'member_firstname' => $Members->firstname, |
|
71 |
+ 'member_lastname' => $Members->lastname, |
|
70 | 72 |
'news_topics' => implode("\n",$arrNews), |
71 | 73 |
'news_topics_html' => "<ul>\n<li>".implode("</li>\n<li>",$arrNews)."</li>\n</ul>" |
72 | 74 |
), |
... | ... |
@@ -17,10 +17,14 @@ $GLOBALS['NOTIFICATION_CENTER']['NOTIFICATION_TYPE']['contao']['news_submitted'] |
17 | 17 |
), |
18 | 18 |
'email_text' => array |
19 | 19 |
( |
20 |
+ 'member_firstname', // The firstname of the recipient |
|
21 |
+ 'member_lastname', // The lastname of the recipient |
|
20 | 22 |
'news_topics' // The titles of all new news |
21 | 23 |
), |
22 | 24 |
'email_html' => array |
23 | 25 |
( |
26 |
+ 'member_firstname', // The firstname of the recipient |
|
27 |
+ 'member_lastname', // The lastname of the recipient |
|
24 | 28 |
'news_topics_html', // The titles of all new news |
25 | 29 |
'news_topics' // The titles of all new news |
26 | 30 |
) |
... | ... |
@@ -9,6 +9,8 @@ |
9 | 9 |
*/ |
10 | 10 |
|
11 | 11 |
$GLOBALS['TL_LANG']['NOTIFICATION_CENTER_TOKEN']['news_submitted']['member_email'] = 'E-Mail-Adresse des Mitglieds.'; |
12 |
+$GLOBALS['TL_LANG']['NOTIFICATION_CENTER_TOKEN']['news_submitted']['member_firstname'] = 'Vorname des Mitglieds.'; |
|
13 |
+$GLOBALS['TL_LANG']['NOTIFICATION_CENTER_TOKEN']['news_submitted']['member_lastname'] = 'Nachname des Mitglieds.'; |
|
12 | 14 |
$GLOBALS['TL_LANG']['NOTIFICATION_CENTER_TOKEN']['news_submitted']['news_topics'] = 'Alle Titel von neuen News.'; |
13 | 15 |
$GLOBALS['TL_LANG']['NOTIFICATION_CENTER_TOKEN']['news_submitted']['news_topics_html'] = 'Alle Titel von neuen News (HTML).'; |
14 | 16 |
|