Hiding portlet title in liferay 7Hiding portlet title in liferay 7https://liferay.dev/en/c/message_boards/find_thread?p_l_id=119785333&threadId=736302222024-03-29T13:34:44Z2024-03-29T13:34:44ZRE: Hiding portlet title in liferay 7Andrew Jardinehttps://liferay.dev/en/c/message_boards/find_message?p_l_id=119785333&messageId=1088623432018-05-25T02:38:06Z2018-05-25T02:38:06ZYes -- you would do it in the portlet.ftl.Andrew Jardine2018-05-25T02:38:06ZRE: Hiding portlet title in liferay 7Enrico Oliosihttps://liferay.dev/en/c/message_boards/find_message?p_l_id=119785333&messageId=1085989462018-05-21T13:22:24Z2018-05-21T13:22:24Z<div class="quote-title">Gouranga Tarafder:</div><blockquote>I modified this in my custom theme ...</blockquote><br /><br />...I think into <strong>portlet.ftl</strong>, right?Enrico Oliosi2018-05-21T13:22:24ZRE: Hiding portlet title in liferay 7Gouranga Tarafderhttps://liferay.dev/en/c/message_boards/find_message?p_l_id=119785333&messageId=1072233362018-04-26T03:19:42Z2018-04-26T03:19:42ZI modified this in my custom theme <br /><br /><#if portlet_display.getPortletDecoratorId() != "barebone"><br /> <h2 class="portlet-title-text">${portlet_title}</h2><br /><br /></#if><br /><br />Selected barebone in protlet Look and Feel configuration. And it worked.<br /><br />Thanks Chema Balsas <img alt="emoticon" src="@theme_images_path@/emoticons/smile.gif" >Gouranga Tarafder2018-04-26T03:19:42ZRE: Hiding portlet title in liferay 7Andrew Jardinehttps://liferay.dev/en/c/message_boards/find_message?p_l_id=119785333&messageId=914584752017-07-05T15:30:52Z2017-07-05T15:30:52Z<html><head></head><body>Does this mean that the look-and-feel setting doesn't work anymore?<br><br><pre><code><settings>
<setting key="portlet-setup-show-borders-default" value="false"></setting>
</settings>
</code></pre><br><br>.. i'm trying to use it, but it doesn't seem to be having any effect.</body></html>Andrew Jardine2017-07-05T15:30:52ZRE: Hiding portlet title in liferay 7Chema Balsashttps://liferay.dev/en/c/message_boards/find_message?p_l_id=119785333&messageId=900094022017-05-29T09:31:51Z2017-05-29T09:31:51ZHi everyone!<br /><br />I think that in Liferay 7, this is supposed to be done via <a href="https://dev.liferay.com/develop/tutorials/-/knowledge_base/7-0/portlet-decorators">Portlet Decorators</a><br /><br />The default one is <a href="https://github.com/liferay/liferay-portal/blob/master/modules/apps/foundation/frontend-theme/frontend-theme-classic/src/WEB-INF/liferay-look-and-feel.xml#L26-L29">decorate</a> which does include the title by default (and it will include the default title if no title is set).<br /><br />The <a href="https://github.com/liferay/liferay-portal/blob/master/modules/apps/foundation/frontend-theme/frontend-theme-classic/src/WEB-INF/liferay-look-and-feel.xml#L20-L22">barebone</a> decorator doesn't include the portlet title (among other things). <br /><br />In the <a href="https://dev.liferay.com/develop/tutorials/-/knowledge_base/7-0/adding-portlet-decorators-to-a-theme">Adding Portlet Decorators To a Theme</a> tutorial you can see how to create your own and <a href="https://dev.liferay.com/develop/tutorials/-/knowledge_base/7-0/adding-portlet-decorators-to-a-theme#changing-your-application-markup-with-application-decorators">how to change the portlet markup with a decorator</a> to achieve any desired effect.<br /><br />Hope that helps!Chema Balsas2017-05-29T09:31:51ZRE: Hiding portlet title in liferay 7Ahmed Hasnaouihttps://liferay.dev/en/c/message_boards/find_message?p_l_id=119785333&messageId=900060082017-05-29T08:55:15Z2017-05-29T08:55:15Zsame here...Ahmed Hasnaoui2017-05-29T08:55:15ZRE: Hiding portlet title in liferay 7Jacopo Bartolinihttps://liferay.dev/en/c/message_boards/find_message?p_l_id=119785333&messageId=851198432017-01-24T09:09:26Z2017-01-24T09:09:26ZSame problem... I could use some advice. Hiding it via css seems like a little dirty trickJacopo Bartolini2017-01-24T09:09:26ZRE: Hiding portlet title in liferay 7Alessandro Candinihttps://liferay.dev/en/c/message_boards/find_message?p_l_id=119785333&messageId=768083632016-07-20T06:22:36Z2016-07-20T06:22:36ZSame problem here on Liferay 7 CE GA2.Alessandro Candini2016-07-20T06:22:36ZRE: Hiding portlet title in liferay 7Olaf Kockhttps://liferay.dev/en/c/message_boards/find_message?p_l_id=119785333&messageId=736355542016-04-28T16:27:50Z2016-04-28T16:27:50Z<div class="quote-title">diego gabriele:</div><blockquote>Simply deleting the portlet custom title doesn't work in liferay 7.</blockquote><br /><br />CSS? -> display:none;Olaf Kock2016-04-28T16:27:50ZHiding portlet title in liferay 7