How to hide the title of a portlet on DXP
How To articles are not official guidelines or officially supported documentation. They are community-contributed content and may not always reflect the latest updates to Liferay DXP. We welcome your feedback to improve How To articles!
While we make every effort to ensure this Knowledge Base is accurate, it may not always reflect the most recent updates or official guidelines.We appreciate your understanding and encourage you to reach out with any feedback or concerns.
Legacy Article
You are viewing an article from our legacy "FastTrack"
publication program, made available for informational purposes. Articles
in this program were published without a requirement for independent
editing or verification and are provided"as is" without
guarantee.
Before using any information from this article, independently verify its
suitability for your situation and project.
Issue
- On Liferay Portal 6.2 EE, if one would like to make the title of a portlet non-visible, an easy way is to set an empty string ('') as title.
- Although, on DXP (7.0 and above) it is no longer possible, hence if the title is set with an empty value, the portal automatically replaces it with the original portlet title as default.
Environment
Resolution
- Indeed, the method on DXP has been changed by design. If the portlet title is desired to be set as non-visible, 'Barebone' (or custom) Portlet Decorator needs to be applied.
- Open DXP and sign in with administrator user
- Open Look and Feel Configuration of the particular portlet
- At General tab, set Application Decorators value as Barebone (or apply custom decorator if created for this purpose previously)
- Click Save
- The title of the portlet is no longer displayed
Did this article resolve your issue ?