/o//commerce-media/accounts/-1/images/18572806?download=true

User Notfication
Icon
DXP App
18572758
Many new features have been added in Liferay 7 and many user-friendly notifications omitted. Take for example, the feature that notified users and developers when there was a change with their project or system they were working on.
It was User Notification Portlet that was very much visible on the right hand side corner in Liferay 6.2 assigned a bell icon with numbers shown in red colors indicating the changes or updates that are still to be viewed by the user. With the introduction of Liferay DXP that features has been disabled.

- Problem

Liferay 6.2 showed notifications to user in its top dock bar (Bell icon that showed numbers in red circle) to access notifications for latest updates. But, with Liferay DXP we can only access then via the Control Panel section which is inconvenient due to navigational issues.

- Solution

KNOWARTH’s User notification Portlet is the solution to circumvent this annoying issue. We have developed a unique component in Liferay 7 using which developers can allow access to users to view notifications in real-time. It also allows a user to redirect notifications to Liferay User Notification Page for convenience.

- How to configure Notification Portlet in Liferay DXP?
Please follow below given steps to configure Notification Portlet:

Step 1: Paste the .jar file in deploy folder on Tomcat Server

Step 2: Login as Super Admin in your Liferay account

Step 3: Create public page in any site and add Portlet (User notifications) in that same page.

Step 4: set Portlet URL (notification page URL) to get redirected to the Notification Page on your Liferay account
Now, click on configuration option on top Right menu of User Notification Portlet
Above steps will Pop open a new window which will prompt a user to add the redirection URL. Click the Save button to save you redirection rule.
For example: /group/control_panel/manage?p_p_id=com_liferay_notifications_web_portlet_NotificationsPortlet&p_p_lifecycle=0&p_p_state=maximized&p_p_auth=8U5tPQxH

Step 5: Generate user notifications.
For example: create a blog. Login with any other user and subscribe that user to the blog you just created.
And, that subscriber will get all notification for any updates, comments or changes within the blog.

Step 6: After generating notification, go to site page where User notification Portlet is available.
We can see notifications for the new user in the Portlet by clicking on Bell icon.

Step 7: User can mark it Read to hide that update.

Step 8: By clicking on View all notifications, user will get redirected to notifications page available in Liferay’s Control Panel section.

User notifications are very important to most users as it draws their attention to the latest updates within their projects.
DEVELOPER
KNOWARTH Technologies Pvt. Ltd.
DEVELOPER
09.04.17 00:00
Published date
Fehler bei der Verarbeitung der Vorlage.
The string doesn't match the expected date/time/date-time format. The string to parse was: "09.04.17 00:00". The expected format was: "MM/dd/yy HH:mm".
The nested reason given follows:
Unparseable date: "09.04.17 00:00"

----
FTL stack trace ("~" means nesting-related):
	- Failed at: ${CPDefinition_displayDate.getData()?...  [in template "3192443#3192485#null" at line 4, column 9]
----
1<#setting date_format="MMMMM d, yyyy"> 
2 
3<#if (CPDefinition_displayDate.getData())??> 
4	${CPDefinition_displayDate.getData()?datetime("MM/dd/yy HH:mm")?date} 
5</#if> 
Published Date
09.04.17 00:00
SUPPORTED OFFERINGS
Self-Hosted, Self-Managed
Supported Versions
7.0
Resource Requirements
Edition
EE
PRICE
Free
help & support
Terms & Conditions
SHARE LINK
Copy & Share Link

HTML Example

A paragraph is a self-contained unit of a discourse in writing dealing with a particular point or idea. Paragraphs are usually an expected part of formal writing, used to organize longer prose.