Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to hide tabs from My Account portlet in Liferay's Control Panel

Folks,

I need to get rid of all the unnecessary stuff in the left navigation of My Account portlet. I tried to remove the items from /html/portlet/enterprise_admin/categories_navigation.jspf but couldn't find a way to do so. Any hints are very appreciated.

Greetz, Erik

like image 393
Erik Triolo Avatar asked Dec 04 '25 11:12

Erik Triolo


2 Answers

It's pretty easy to configure which tabs are displayed in My Account portlet and doesn't even require modifications of any jsps. You just need to override some properties from portal.properties. I have described this detailed in my blog post.

http://liferay.bdedov.eu/2012/02/clean-up-control-panel-from-unnecessary.html

Cheers!

like image 170
Liferay Blogger Avatar answered Dec 07 '25 04:12

Liferay Blogger


You don't need to override portal.properties (which requires restart), all you need to do is remove permissions from the appropriate role. All doable in Control Panel on the fly.

As described here How to disable Control-panel's "My Account" Portlet for only Power-user role

like image 29
Michal R Avatar answered Dec 07 '25 04:12

Michal R



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!