Liferay: Hide unwanted portlet_liferay in the Portlet list temporarily

Source: Internet
Author: User

Original: http://blog.csdn.net/hantiannan/article/details/7311845


In the Menu Add button, list the portlet.

But in many cases our site uses only a subset of the content.

How to hide some unwanted portlets.

There are two ways of doing this:

The first is to modify the configuration file: Portal-web/docroot/web-inf/liferay-display.xml

Put what you don't need in the Category.hidden.

Your own portlet, you need to modify the Liferay-display.xml file for the corresponding portlet.


The second method: setting invalidates the portlet.

This method is not required to modify the configuration file. However, only the corresponding ones, even if they are invalid, do not affect the system's portlets.

How to: Manage Menu Plugin Settings menu. Then set the unwanted portlet to be invalid.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.