掲示板

Disable portlet topper

12年前 に Ben Holzer によって更新されました。

Disable portlet topper

New Member 投稿: 5 参加年月日: 11/11/25 最新の投稿
Hi!

I like to disable the portlet topper only for specific portlets by default, without using the Liferay user interface. Is there any possibility to disable the topper in a configuration file of a portlet such as the portlet.xml?

In many posts I found the following option for the portlet.xml but it does not work in Liferay 6.1 Beta 4.

<portlet-preferences>
  <preference>
    <name>portlet-setup-show-borders</name>
       <value>false</value>
  </preference>
</portlet-preferences>


Thanks.
thumbnail
12年前 に Sagar A Vyas によって更新されました。

RE: Disable portlet topper

Liferay Master 投稿: 679 参加年月日: 09/04/17 最新の投稿
Hi Ben,

You can keep

<use-default-template>false</use-default-template>


in liferay-portlet.xml file.

Please inform me if it is not working.

Hope this help

Thanks,
Sagar Vyas
12年前 に Ben Holzer によって更新されました。

RE: Disable portlet topper

New Member 投稿: 5 参加年月日: 11/11/25 最新の投稿
Thanks, this work for me!