Skip to content

Commit 6428bb9

Browse files
committed
2 parents 9502a25 + 8842164 commit 6428bb9

File tree

1 file changed

+11
-16
lines changed

1 file changed

+11
-16
lines changed

README.md

Lines changed: 11 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,15 @@
1-
#Notification
1+
# Description
2+
A really nice notification anywhere in your screen you want. This is the best replacement for the default pop-up (info/warning/error)messages in Mendix.
23

3-
This widget provides the functionality to display a custom message, sourced from either a transient or persistent object. The message is rendered utilizing the [noty](http://ned.im/noty/) jQuery plugin, so the position, style, and timeout can all be configured.
4-
5-
# Getting Started
6-
7-
8-
* The *Notification* widget can be downloaded from within the Mendix Business Modeler in the Mendix Appstore into any model that is built with Mendix 5+. Beware that the module works differently in Mendix 7. So upgrade this module when upgrading to Mendix 7.
4+
## Breaking changes!
95

6+
With this upgrade we replace the widget that was used for the notifications. We use SweetAlert2 now. Inspired by the module that was already in the Marketplace by Jason Imeidopf. We have made it plug and play for nanoflows AND microflows. It will load the necessary javascript and CSS files. Only place the snippet in your layout and your are good to go. Exisiting calls to SF_CreateNotification are replaced by SUB_CreateNotifications. Rename the new microflow to the old name and back will solve this. The enums for status and position must be set again! It uses also HTML snippet from Mendix: https://marketplace.mendix.com/link/component/56
107

8+
# Getting started
9+
The Notification module can be downloaded from the Mendix Marketplace into any model that is built with Mendix 8.18.18 (MTS) + and 9.0+.
10+
1111
# Configuration
12-
13-
* Download module and give every User role the Module role ApprontoNotification.User so every user can see the notification
14-
* Drop the widget into the context of an entity
15-
* Apply the following properties:
16-
* *Show Notification* - Boolean attribute to determine if the message should be rendered
17-
* *Display Text* - String attribute, containing the message to be displayed
18-
* *Layout* - The position of the message
19-
* *Type* - The appearance of the message
20-
* *Timeout* - How long the message should be displayed, before fading out (in milliseconds.) Set this property to *0* to render the message until it is clicked by the user
12+
- Download module and give every User role the Module role ApprontoNotification.User so every user can see the notification
13+
- Download HTML/ JavaScript Snippet (if not already in your project)
14+
- Place the notification snippet on your Layouts
15+
- Use the microflows and nanoflows (see examples!) from the USE ME folder

0 commit comments

Comments
 (0)