掲示板

remove static portlet from one page

thumbnail
12年前 に Archi Madhu によって更新されました。

remove static portlet from one page

Regular Member 投稿: 237 参加年月日: 08/03/25 最新の投稿
Hi All,

We are using LR6 SP1.

In properties file we have added document library portlet as static portlet on all organization private pages.

layout.static.portlets.start.column-1[organization]=20

I want to keep it for all organization private pages except for one organization.
For that organization,we don't get even remove icon to remove portlet manually from there.

Is there anyway to do it?

Regards,
Archi
12年前 に Oliver Bayer によって更新されました。

RE: remove static portlet from one page

Liferay Master 投稿: 894 参加年月日: 09/02/18 最新の投稿
Hi Archi,

I would try writing a simple portlet which uses the API to remove the portlet from the page (e.g. LayoutTpyePortletImpl.removePortletId(long userId, "20")). A quick and dirty solution would be to hack it in the database but it's not recommended in production emoticon.

HTH Oli