Notifications in Liferay 6.2

Greeshma Mathew, modified 6 Years ago. New Member Posts: 14 Join Date: 12/14/18 Recent Posts
Hi,
I am currently using Liferay 6.2. I have created a workflow wherein a user submits a document and an approver approves or rejects it. My question is, if the approver gets more that 3 notifications is it possible to implement a scroll bar which will show all the notifications the approver has recieved.
thumbnail
Andrew Jardine, modified 6 Years ago. Liferay Legend Posts: 2416 Join Date: 12/22/10 Recent Posts
Hi Greeshma,

The notifications you are talking about -- are you referring to the notifications that appear in the dockbar across the top of the screen? Is that where you want to hadd the scrollbar?
Greeshma Mathew, modified 6 Years ago. New Member Posts: 14 Join Date: 12/14/18 Recent Posts
Andrew JardineHi Greeshma,

The notifications you are talking about -- are you referring to the notifications that appear in the dockbar across the top of the screen? Is that where you want to hadd the scrollbar?
Yes, the notifications that appear at the dockbar. When you click on it, a dropdown appears. I want to implement a scroll down in the dropdown.
thumbnail
Andrew Jardine, modified 6 Years ago. Liferay Legend Posts: 2416 Join Date: 12/22/10 Recent Posts
I had to make modifications to this feature for a 6.2 project a few years ago. The notifications are a separate portlet and the JSP you are looking for is TOMCAT_HOME/webapps/notifications-portlet/dockbar_notifications/view.jsp.

This JSP is not part of the core application of course so this means that you can't use a JSP hook to alter it. There is a technique you can use

with ANT:  https://dev.liferay.com/es/develop/tutorials/-/knowledge_base/6-2/creating-plugins-to-extend-plugins?notice=1
with Maven: https://community.liferay.com/de/blogs/-/blogs/creating-plugins-to-extend-plugins-the-maven-way

Then you can of course change the markup however you need.