Skip to content

Commit

Permalink
Documented message conditions in NC pro
Browse files Browse the repository at this point in the history
  • Loading branch information
Toflar committed Jan 29, 2024
1 parent b35eae4 commit f17cab3
Show file tree
Hide file tree
Showing 12 changed files with 67 additions and 5 deletions.
4 changes: 4 additions & 0 deletions docs/notification-center-pro/_index.de.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,10 @@ Notification Center Pro ist eine kommerzielle Erweiterung für unser [kostenlose
Zusätzlich zur kostenlosen Version erweitert Notification Center Pro dein Notification Center-Erlebnis um die
folgenden Funktionen:

## Versandbedingungen für Nachrichten

Mit [Bedingungen für Nachrichten](./message-conditions) kannst du ganze Nachrichten vom Versand ausschliessen und sie so bspw. abhängig von Formularfeldern verschicken lassen.

## Void Gateway

Das [Void Gateway](./void-gateway) sendet überhaupt keine Nachricht (`void` ist Englisch für "Nichts"). Stattdessen täuscht es nur eine erfolgreiche Zustellung vor, um das Testing zu vereinfachen.
Expand Down
4 changes: 4 additions & 0 deletions docs/notification-center-pro/_index.en.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,10 @@ Notification Center Pro is a commercial extension to our [free and very popular
On top of using the free version, Notification Center Pro will enhance your Notification Center experience with the
following features:

## Dispatch conditions for messages

With [conditions for messages](./message-conditions) you can exclude entire messages from being sent and thus have them sent depending on form fields, for example.

## Void Gateway

The [Void Gateway](./void-gateway) does not send any message at all. Instead, it just fakes a successful delivery allowing
Expand Down
2 changes: 1 addition & 1 deletion docs/notification-center-pro/logs/_index.de.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
title: "Logs"
weight: 3
weight: 4
---

Das Notification Center Pro protokolliert automatisch alle Benachrichtigungen, die gesendet wurden. Normalerweise ist das
Expand Down
2 changes: 1 addition & 1 deletion docs/notification-center-pro/logs/_index.en.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
title: "Logs"
weight: 3
weight: 4
---

Notification Center Pro automatically logs all the notifications that have been sent. Usually, this is already very
Expand Down
27 changes: 27 additions & 0 deletions docs/notification-center-pro/message-conditions/_index.de.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
---
title: "Bedingungen für Nachrichten"
weight: 2
---

Mit eigenen Bedingungen für Nachrichten kannst du zusätzlich zu den Standardfeldern Bedingungen definieren, die für einen Versand erfüllt sein müssen.

## Beispiel

Du möchtest grundsätzlich alle E-Mails in die Verkaufsabteilung schicken. Dringende Anfragen sollen **zusätzlich** an ein spezielles Team geschickt werden.
Ob es sich um eine dringende Anfrage handelt, entscheidet der Kunde selber im Formular.

Dann lasst uns mal die Checkbox in unserem Formular anlegen:

![Screenshot des Formulargenerators im Backend. Wir fügen eine Checkbox namens "urgent" hinzu. Der Wert, wenn angehakt lautet "yes".]({{% asset "/notification-center-pro/images/screenshot_message_condition_form_be.png" %}}?classes=shadow)

Im Frontend sieht das dann ungefähr so aus für unsere Kunden:

![Screenshot des Frontends mit unserer Checkbox]({{% asset "/notification-center-pro/images/screenshot_message_condition_form_fe.png" %}}?height=200px&classes=shadow)

Nun können wir mit `##form_urgent## === 'yes'` eine gesamte Nachricht nur dann versenden lassen, wenn der Kunde diese Checkbox angehakt hat:

![Screenshot der Bedingung im Backend]({{% asset "/notification-center-pro/images/screenshot_message_condition.png" %}}?classes=shadow)

{{% notice tip %}}
Diese Funktion ist besonders mächtig im Zusammenspiel mit [benutzerdefinierten Tokens](./../custom-tokens)!
{{% /notice %}}
27 changes: 27 additions & 0 deletions docs/notification-center-pro/message-conditions/_index.en.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
---
title: "Conditions for messages"
weight: 2
---

With conditions for messages, you can define conditions in addition to the standard publication fields that must be met for a message to be sent.

## Example

You want to send all emails to the sales department. Urgent inquiries should **in addtion** be sent to a special team.
The customer himself decides in the form whether it is an urgent inquiry.

Then let's create the checkbox in our form:

![Screenshot of the form generator in the back end. We add a checkbox called "urgent". The value, if checked, is "yes".]({{% asset "/notification-center-pro/images/screenshot_message_condition_form_be.png" %}}?classes=shadow)

In the front end, it looks something like this for our customers:

![Screenshot of the front end with our checkbox]({{% asset "/notification-center-pro/images/screenshot_message_condition_form_fe.png" %}}?height=200px&classes=shadow)

Now we can use `##form_urgent## === 'yes'` to send an entire message only if the customer has ticked this checkbox:

![Screenshot of the condition in the back end]({{% asset "/notification-center-pro/images/screenshot_message_condition.png" %}}?classes=shadow)

{{% notice tip %}}
This function is particularly powerful in combination with [custom tokens](./../custom-tokens)!
{{% /notice %}}
2 changes: 1 addition & 1 deletion docs/notification-center-pro/void-gateway/_index.de.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
title: "Void Gateway"
weight: 2
weight: 3
---

Das `Void Gateway` ist ein sehr nützliches Test-Gateway. Es simuliert das konfigurierte Ziel-Gateway und ahmt eine erfolgreiche
Expand Down
2 changes: 1 addition & 1 deletion docs/notification-center-pro/void-gateway/_index.en.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
title: "Void Gateway"
weight: 2
weight: 3
---

The `Void Gateway` is a very useful testing Gateway. It mocks the configured target Gateway and mimicks a successful
Expand Down
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion page/themes/hugo-theme-learn

0 comments on commit f17cab3

Please sign in to comment.