Ask Questions and Find Answers
Important:
Ask is now read-only. You can review any existing questions and answers, but not add anything new.
But - don't panic! While ask is no more, we've replaced it with discuss - the new Liferay Discussion Forum! Read more here here or just visit the site here:
discuss.liferay.com
RE: Portlet header changing with theme?
Hello everyone, I hope you can help me.
I am working with Liferay 7.2.1 ga2, creating a custom theme. I noticed that in my new custom theme, the portlet header displays the portlet name (or in case of web content display, when a web content is assigned, it displays the web content name). I want my theme to behave like the classic theme, where such "Title" is not displayed . What should I do?Thank you in advance.
I am working with Liferay 7.2.1 ga2, creating a custom theme. I noticed that in my new custom theme, the portlet header displays the portlet name (or in case of web content display, when a web content is assigned, it displays the web content name). I want my theme to behave like the classic theme, where such "Title" is not displayed . What should I do?Thank you in advance.
Issue solved, solution: edit portlet.ftl in folder theme>src>templates
That's a pretty heavy-handed approach.
I believe the normal way is to just change the default portlet decorator to "barebones".
I believe the normal way is to just change the default portlet decorator to "barebones".
Changing the default to barebone wouldn't fix the issue. In a classic theme, changing look and feel manually to barebone would fix it. However, when using a custom theme, the barebone would still show the portlet "Title".
Copyright © 2025 Liferay, Inc
• Privacy Policy
Powered by Liferay™