Notification messages appear in the lower right corner of the user’s screen as popup messages. This is a useful way of informing the user of problems with an action or confirming that actions have taken place.
Each notification has four parts:
- Message – the text of the message
- Notification Type a positive integer indicating the type of notification
- Sticky – true to keep the message on the screen, false to fade the message after a few seconds.
- Echo – true to output the message to the page
Here are some examples of how to create notification messages:
mkp_base message=”this is test message #1″ type=1 echo sticky notify
mkp_base message=”this is test message #2″ type=2 echo notify
mkp_base message=”this is test message #3″ type=3 echo notify
mkp_base message=”this is test message #4″ type=4 echo notify
mkp_base message=”this is test message #5″ type=5 echo notify
mkp_base message=”this is test message #6″ type=6 echo sticky notify
Output:
[mkp_base message=”this is test message #1″ type=1 echo sticky notify]
[mkp_base message=”this is test message #2″ type=2 echo notify]
[mkp_base message=”this is test message #3″ type=3 echo notify]
[mkp_base message=”this is test message #4″ type=4 echo notify]
[mkp_base message=”this is test message #5″ type=5 echo notify]
[mkp_base message=”this is test message #6″ type=6 echo sticky notify]