-
-
Notifications
You must be signed in to change notification settings - Fork 4
Description
Labdoo 2.0 implements user notifications that shown on the web page that a user is viewing at the very top of the page.
These notifications are shown upon different user actions, such as node creation, node update or node view. For instance, when a dootrip is created, updated, the user sees this notification at the top:
Or when a users visits a dootronic for which he/she is the manager, the message "You are this dootronic's manager." shows up:
This notifications are implemented in different places of the Labdoo 2.0 code, for instance in the actions module:
Or in the dootrip module: https://github.com/Labdoo/Labdoo-2.0/blob/08784e59a46d3790ebbda04545cc77269aeb8042/modules/custom/lbd_dootrip/lbd_dootrip.module#L78
And also in the labdoo_lib module, for instance: https://github.com/Labdoo/Labdoo-2.0/blob/08784e59a46d3790ebbda04545cc77269aeb8042/modules/custom/labdoo_lib/labdoo_lib.module#L4956
A good way to identify all of these message is by searching the function labdoo_lib_msg_info(), which is used to print this type of notifications at the top of a labdoo web page.

