Forums

Home » Liferay Portal » English » 3. Development

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

Lior Hadaya

Rank: Regular Member

Posts: 138

Join Date: January 24, 2012

Recent Posts

Hello,
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:
1
2<control-panel-entry-category>portal</control-panel-entry-category>
3<control-panel-entry-weight>X.0</control-panel-entry-weight>


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

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

David H Nebinger

Community Moderator

Rank: Liferay Legend

Posts: 11770

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.