掲示板
Hiding portlet title in liferay 7
7年前 に diego gabriele によって更新されました。
Hiding portlet title in liferay 7
New Member 投稿: 20 参加年月日: 14/12/29 最新の投稿
Simply deleting the portlet custom title doesn't work in liferay 7.
Any other idea?
Any other idea?
7年前 に Olaf Kock によって更新されました。
RE: Hiding portlet title in liferay 7
Liferay Legend 投稿: 6403 参加年月日: 08/09/23 最新の投稿diego gabriele:
Simply deleting the portlet custom title doesn't work in liferay 7.
CSS? -> display:none;
7年前 に Alessandro Candini によって更新されました。
RE: Hiding portlet title in liferay 7
Regular Member 投稿: 130 参加年月日: 15/10/17 最新の投稿
Same problem here on Liferay 7 CE GA2.
7年前 に Jacopo Bartolini によって更新されました。
RE: Hiding portlet title in liferay 7
Junior Member 投稿: 28 参加年月日: 17/01/19 最新の投稿
Same problem... I could use some advice. Hiding it via css seems like a little dirty trick
6年前 に Ahmed Hasnaoui によって更新されました。
RE: Hiding portlet title in liferay 7
New Member 投稿: 3 参加年月日: 17/05/22 最新の投稿
same here...
6年前 に Chema Balsas によって更新されました。
RE: Hiding portlet title in liferay 7
Regular Member 投稿: 127 参加年月日: 13/02/25 最新の投稿
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!
6年前 に Andrew Jardine によって更新されました。
RE: Hiding portlet title in liferay 7
Liferay Legend 投稿: 2416 参加年月日: 10/12/22 最新の投稿
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.
6年前 に Gouranga Tarafder によって更新されました。
RE: Hiding portlet title in liferay 7
New Member 投稿: 1 参加年月日: 17/09/15 最新の投稿
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
5年前 に Enrico Oliosi によって更新されました。
RE: Hiding portlet title in liferay 7
Junior Member 投稿: 73 参加年月日: 10/07/06 最新の投稿Gouranga Tarafder:
I modified this in my custom theme ...
...I think into portlet.ftl, right?
5年前 に Andrew Jardine によって更新されました。
RE: Hiding portlet title in liferay 7
Liferay Legend 投稿: 2416 参加年月日: 10/12/22 最新の投稿
Yes -- you would do it in the portlet.ftl.