To uninstall(Remove) the liferay base portlets we need to add <include>false</include> to the portlet definition in liferay-portlet.xml file and remove respective display in liferay-display.xml.
By doing the above we may have some issues with portlets which are using the resources of the removed one.So careful at the time of removing .
The best idle approach is :
Just clear out the ROOT/WEB-INF/liferay-display.xml file. Taking the portlets out of here will keep them all in Liferay but remove them from a user's ability to place them on a page. It's probably the least impacting way to do this.
No comments:
Post a Comment