Message Boards

How to remove items from default user menu ?

thumbnail
Victor Manea, modified 3 Years ago.

How to remove items from default user menu ?

New Member Posts: 11 Join Date: 10/23/20 Recent Posts

I have a fresh installation of Liferay Community 7.3 bundled with Tomcat. I created a new site and a user and used the default Theme.

When I login with that user, I have in the right top corner an avatar that when I click on it it expands in a multi option menu - like the one on this page :) . I want to customize it and remove the majority of them and let only the Account Settings and Sign Out options.

Which should be the direction to tacke this one ?

thumbnail
Mohammed Yasin, modified 3 Years ago.

RE: How to remove items from default user menu ?

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

Hi,

You can create module with  reference to  PersonalMenuEntry class for adding and customising Personal Menu entry, Pls refer below for more information

https://help.liferay.com/hc/en-us/articles/360034978292-Customizing-the-Personal-Menu

For existing entries that need to be removed, u can set false in isShow() method.