Message Boards

How to add menu item to folders in control panel

Carlos Barreiro, modified 3 Years ago.

How to add menu item to folders in control panel

New Member Posts: 16 Join Date: 11/25/19 Recent Posts

Hello, I'd like to add a menu item in the menu that appears when you click the dropdown icon on each folder. The menu item would link to another portlet that is already created, but I can't find how to add the menu item. I'm working on DXP 7.1

I attach an image to clarify where I want to add the item.

Thanks!

 

thumbnail
Mohammed Yasin, modified 3 Years ago.

RE: How to add menu item to folders in control panel

Liferay Master Posts: 591 Join Date: 8/8/14 Recent Posts

Hi ,

You may need to overide the  /folder_action.jsp in document-library-web module,and add the new menu item in that.  

https://github.com/liferay/liferay-portal/blob/7.1.x/modules/apps/document-library/document-library-web/src/main/resources/META-INF/resources/document_library/folder_action.jsp

 

To override a liferay module jsp you can refer below link

https://help.liferay.com/hc/en-us/articles/360029006072-Module-JSP-Override