Fórum
Hiding portlet title in liferay 7
diego gabriele, modificado 7 Anos atrás.
Hiding portlet title in liferay 7
New Member Postagens: 20 Data de Entrada: 29/12/14 Postagens Recentes
Simply deleting the portlet custom title doesn't work in liferay 7.
Any other idea?
Any other idea?
Olaf Kock, modificado 7 Anos atrás.
RE: Hiding portlet title in liferay 7
Liferay Legend Postagens: 6403 Data de Entrada: 23/09/08 Postagens Recentesdiego gabriele:
Simply deleting the portlet custom title doesn't work in liferay 7.
CSS? -> display:none;
Alessandro Candini, modificado 7 Anos atrás.
RE: Hiding portlet title in liferay 7
Regular Member Postagens: 130 Data de Entrada: 17/10/15 Postagens Recentes
Same problem here on Liferay 7 CE GA2.
Jacopo Bartolini, modificado 7 Anos atrás.
RE: Hiding portlet title in liferay 7
Junior Member Postagens: 28 Data de Entrada: 19/01/17 Postagens Recentes
Same problem... I could use some advice. Hiding it via css seems like a little dirty trick
Ahmed Hasnaoui, modificado 6 Anos atrás.
RE: Hiding portlet title in liferay 7
New Member Postagens: 3 Data de Entrada: 22/05/17 Postagens Recentes
same here...
Chema Balsas, modificado 6 Anos atrás.
RE: Hiding portlet title in liferay 7
Regular Member Postagens: 127 Data de Entrada: 25/02/13 Postagens Recentes
Hi everyone!
I think that in Liferay 7, this is supposed to be done via Portlet Decorators
The default one is decorate which does include the title by default (and it will include the default title if no title is set).
The barebone decorator doesn't include the portlet title (among other things).
In the Adding Portlet Decorators To a Theme tutorial you can see how to create your own and how to change the portlet markup with a decorator to achieve any desired effect.
Hope that helps!
I think that in Liferay 7, this is supposed to be done via Portlet Decorators
The default one is decorate which does include the title by default (and it will include the default title if no title is set).
The barebone decorator doesn't include the portlet title (among other things).
In the Adding Portlet Decorators To a Theme tutorial you can see how to create your own and how to change the portlet markup with a decorator to achieve any desired effect.
Hope that helps!
Andrew Jardine, modificado 6 Anos atrás.
RE: Hiding portlet title in liferay 7
Liferay Legend Postagens: 2416 Data de Entrada: 22/12/10 Postagens Recentes
Does this mean that the look-and-feel setting doesn't work anymore?
.. i'm trying to use it, but it doesn't seem to be having any effect.
<settings>
<setting key="portlet-setup-show-borders-default" value="false"></setting>
</settings>
.. i'm trying to use it, but it doesn't seem to be having any effect.
Gouranga Tarafder, modificado 6 Anos atrás.
RE: Hiding portlet title in liferay 7
New Member Mensagem: 1 Data de Entrada: 15/09/17 Postagens Recentes
I modified this in my custom theme
<#if portlet_display.getPortletDecoratorId() != "barebone">
<h2 class="portlet-title-text">${portlet_title}</h2>
</#if>
Selected barebone in protlet Look and Feel configuration. And it worked.
Thanks Chema Balsas
<#if portlet_display.getPortletDecoratorId() != "barebone">
<h2 class="portlet-title-text">${portlet_title}</h2>
</#if>
Selected barebone in protlet Look and Feel configuration. And it worked.
Thanks Chema Balsas
Enrico Oliosi, modificado 5 Anos atrás.
RE: Hiding portlet title in liferay 7
Junior Member Postagens: 73 Data de Entrada: 06/07/10 Postagens RecentesGouranga Tarafder:
I modified this in my custom theme ...
...I think into portlet.ftl, right?
Andrew Jardine, modificado 5 Anos atrás.
RE: Hiding portlet title in liferay 7
Liferay Legend Postagens: 2416 Data de Entrada: 22/12/10 Postagens Recentes
Yes -- you would do it in the portlet.ftl.