Browse code

Add full message tokens

Benjamin Roth authored on04/04/2023 16:12:58
Showing1 changed files
... ...
@@ -37,13 +37,16 @@ $GLOBALS['NOTIFICATION_CENTER']['NOTIFICATION_TYPE']['contao']['news_submitted']
37 37
     (
38 38
         'member_firstname', // The firstname of the recipient
39 39
         'member_lastname', // The lastname of the recipient
40
-        'news_topics' // The titles of all new news
40
+        'news_topics', // The titles of all new news
41
+        'news_full' // The titles of all new news
41 42
     ),
42 43
     'email_html'    => array
43 44
     (
44 45
         'member_firstname', // The firstname of the recipient
45 46
         'member_lastname', // The lastname of the recipient
46 47
         'news_topics_html', // The titles of all new news
47
-        'news_topics' // The titles of all new news
48
+        'news_full_html', // The titles of all new news
49
+        'news_topics', // The titles of all new news
50
+        'news_full' // The titles of all new news
48 51
     )
49 52
 );
Browse code

Updates

Benjamin Roth authored on16/03/2023 13:33:40
Showing1 changed files
... ...
@@ -14,7 +14,24 @@ $GLOBALS['NOTIFICATION_CENTER']['NOTIFICATION_TYPE']['contao']['news_submitted']
14 14
 (
15 15
     'recipients'    => array
16 16
     (
17
-        'member_email' // The email address of the recipient
17
+        'member_email', // The email address of the recipient
18
+        'admin_email' // The email address of the recipient
19
+    ),
20
+    'email_sender_address'    => array
21
+    (
22
+        'member_email', // The email address of the recipient
23
+        'admin_email' // The email address of the recipient
24
+    ),
25
+    'email_sender_name'    => array
26
+    (
27
+        'member_email', // The email address of the recipient
28
+        'admin_email' // The email address of the recipient
29
+    ),
30
+    'email_subject'        => array
31
+    (
32
+        'domain',
33
+        'member_email',
34
+        'admin_email'
18 35
     ),
19 36
     'email_text'    => array
20 37
     (
Browse code

Initial commit

Benjamin Roth authored on15/03/2023 23:50:38
Showing1 changed files
1 1
new file mode 100644
... ...
@@ -0,0 +1,32 @@
1
+<?php
2
+
3
+declare(strict_types=1);
4
+
5
+/*
6
+* This file is part of newsmailer bundle for Contao.
7
+*
8
+* (c) Benjamin Roth
9
+*
10
+* @license LGPL-3.0-or-later
11
+*/
12
+
13
+$GLOBALS['NOTIFICATION_CENTER']['NOTIFICATION_TYPE']['contao']['news_submitted'] = array
14
+(
15
+    'recipients'    => array
16
+    (
17
+        'member_email' // The email address of the recipient
18
+    ),
19
+    'email_text'    => array
20
+    (
21
+        'member_firstname', // The firstname of the recipient
22
+        'member_lastname', // The lastname of the recipient
23
+        'news_topics' // The titles of all new news
24
+    ),
25
+    'email_html'    => array
26
+    (
27
+        'member_firstname', // The firstname of the recipient
28
+        'member_lastname', // The lastname of the recipient
29
+        'news_topics_html', // The titles of all new news
30
+        'news_topics' // The titles of all new news
31
+    )
32
+);