Changes for page Notifications API
Last modified by Admin on 2024/03/25 15:53
From version 21.7
edited by Admin
on 2017/11/29 20:01
on 2017/11/29 20:01
Change comment:
Imported extension [org.xwiki.platform:xwiki-platform-notifications-api] from repository [maven-xwiki:maven:http://nexus.xwiki.org/nexus/content/groups/public]
To version 22.1
edited by Guillaume Delhumeau
on 2017/12/19 17:37
on 2017/12/19 17:37
Change comment:
There is no comment for this version
Summary
-
Page properties (1 modified, 0 added, 0 removed)
-
Objects (6 modified, 0 added, 0 removed)
Details
- Page properties
-
- Author
-
... ... @@ -1,1 +1,1 @@ 1 -xwiki:XWiki. Admin1 +xwiki:XWiki.gdelhumeau
- ExtensionCode.ExtensionClass[0]
-
- Description
-
... ... @@ -316,3 +316,16 @@ 316 316 image:NotificationTrayBeforeXObject.png 317 317 image:NotificationTrayAfterXObject.png 318 318 {{/gallery}} 319 + 320 +== For emails == 321 + 322 +{{info}}Since [[XWiki 9.11.1>>xwiki:ReleaseNotes.Data.XWiki.9\.11\.1]]{{/info}}, you can do the same for email notifications. 323 + 324 +You need to use the class ##NotificationEmailRendererClass## which takes four properties : 325 + 326 +* **Event Type** : The type of event that should be overridden 327 +* **HTML Template** : The template used for the HTML version of the email 328 +* **Plain text Template** : The template used for the plain text version of the email 329 +* **Email Subject Template** : The template used to generate the email subject (not used yet) 330 + 331 +{{image reference="NotificationEmailRendererClassXObjectExample.png.png"/}} - Properties
-
... ... @@ -1,5 +1,1 @@ 1 -maven.groupid=org.xwiki.platform maven.artifactid=xwiki-platform-notifications-api maven.Model=org.xwiki.platform:xwiki-platform-notifications-api:jar:9.10.1 xwiki.extension.recommendedVersions.platform=org.xwiki.commons:.*/[9.10.1], 2 - org.xwiki.rendering:.*/[9.10.1], 3 - org.xwiki.platform:.*/[9.10.1] xwiki.extension.recommendedVersions.commons=org.xwiki.commons:.*/[9.10.1] xwiki.extension.recommendedVersions=org.xwiki.commons:.*/[9.10.1], 4 - org.xwiki.rendering:.*/[9.10.1], 5 - org.xwiki.platform:.*/[9.10.1] 1 +maven.groupid=org.xwiki.platform maven.artifactid=xwiki-platform-notifications-api maven.Model=org.xwiki.platform:xwiki-platform-notifications-api:jar:9.10.1 xwiki.extension.recommendedVersions.platform=org.xwiki.commons:.*/[9.10.1], org.xwiki.rendering:.*/[9.10.1], org.xwiki.platform:.*/[9.10.1] xwiki.extension.recommendedVersions.commons=org.xwiki.commons:.*/[9.10.1] xwiki.extension.recommendedVersions=org.xwiki.commons:.*/[9.10.1], org.xwiki.rendering:.*/[9.10.1], org.xwiki.platform:.*/[9.10.1]
- ExtensionCode.ExtensionDependencyClass[51]
-
- Optional
-
... ... @@ -1,0 +1,1 @@ 1 +No
- ExtensionCode.ExtensionDependencyClass[52]
-
- Optional
-
... ... @@ -1,0 +1,1 @@ 1 +No
- ExtensionCode.ExtensionDependencyClass[53]
-
- Optional
-
... ... @@ -1,0 +1,1 @@ 1 +No
- ExtensionCode.ExtensionDependencyClass[54]
-
- Optional
-
... ... @@ -1,0 +1,1 @@ 1 +No
- ExtensionCode.ExtensionDependencyClass[55]
-
- Optional
-
... ... @@ -1,0 +1,1 @@ 1 +No