Home » Liferay Portal » English » 3. Development

Combination View Flat View Tree View
Threads [ Previous | Next ]
Lior Hadaya
Hiding a control panel portlet - best practice?
July 2, 2012 7:56 AM

Lior Hadaya

Rank: Regular Member

Posts: 138

Join Date: January 24, 2012

Recent Posts

I am using Liferay EE 6.1.10 and I have a question.

There are a few control panel portlets I wish to hide (blogs, wiki for example).
I can do this by manually editing the liferay-portlet.xml in LIFERAY-HOME\tomcat-7.0.25\webapps\ROOT\WEB-INF folder, and deleting the control panel lines from the specific portlet's definition:

Is there another way to do it that's considered best practice?

David H Nebinger
RE: Hiding a control panel portlet - best practice?
July 2, 2012 9:53 AM

David H Nebinger

Community Moderator

Rank: Liferay Legend

Posts: 13222

Join Date: September 1, 2006

Recent Posts

No, although you should remember that some of those pieces can only be managed via their associated control panel...

Personally I'd just leave them alone. They are only visible to administrators, and you just train them to ignore them. Easiest path and requires no modification to the Liferay core.

Participate in the State of Liferay Community 2017. Help the community and even win some prizes!