掲示板

Remove Login Portlet from Public Pages LR6.2CEGA6

thumbnail
7年前 に darren rose によって更新されました。

Remove Login Portlet from Public Pages LR6.2CEGA6

Regular Member 投稿: 215 参加年月日: 15/04/04 最新の投稿
Hi,

I have created public pages and added public facing portlets - I would like to remove the login portlet from public pages.

I am using Liferay6.2CEGA6

Regards
thumbnail
7年前 に Samuel Kong によって更新されました。

RE: Remove Login Portlet from Public Pages LR6.2CEGA6

Liferay Legend 投稿: 1902 参加年月日: 08/03/10 最新の投稿
For the Sign In portlet, click on the gear icon and select "Remove".
thumbnail
7年前 に darren rose によって更新されました。

RE: Remove Login Portlet from Public Pages LR6.2CEGA6

Regular Member 投稿: 215 参加年月日: 15/04/04 最新の投稿
Samuel Kong:
For the Sign In portlet, click on the gear icon and select "Remove".


Hi,

the portlet is not on my public page - I think it is automatically embedded maybe?

I have created a public page, and added one of my own portlets, which is public, does not require login, but on this public page, the login portlet appears.

thanks
thumbnail
7年前 に Samuel Kong によって更新されました。

RE: Remove Login Portlet from Public Pages LR6.2CEGA6

Liferay Legend 投稿: 1902 参加年月日: 08/03/10 最新の投稿
Perhaps you have the Sign In portlet embedded into your theme?

Does the Sign In portlet appear if your own portlet is not on the page? Maybe your portlet is triggering something to bring up the Sign In portlet?
thumbnail
7年前 に darren rose によって更新されました。

RE: Remove Login Portlet from Public Pages LR6.2CEGA6

Regular Member 投稿: 215 参加年月日: 15/04/04 最新の投稿
Samuel Kong:
Perhaps you have the Sign In portlet embedded into your theme?

Does the Sign In portlet appear if your own portlet is not on the page? Maybe your portlet is triggering something to bring up the Sign In portlet?


thanks,

I have created a custom theme, yes.

How would I check if my Theme is doing this?
thumbnail
7年前 に Kailash Yadav によって更新されました。

RE: Remove Login Portlet from Public Pages LR6.2CEGA6

Regular Member 投稿: 211 参加年月日: 11/10/18 最新の投稿
darren rose:
Samuel Kong:
Perhaps you have the Sign In portlet embedded into your theme?

Does the Sign In portlet appear if your own portlet is not on the page? Maybe your portlet is triggering something to bring up the Sign In portlet?


thanks,

I have created a custom theme, yes.

How would I check if my Theme is doing this?


As I know, you need to do two things :
Remove sign in link from theme (portal_normal.vm or portal_normal.ftl, depend on your theme type) see this line :
https://github.com/liferay/liferay-portal/blob/6.2.x/portal-web/docroot/html/themes/_unstyled/templates/portal_normal.vm#L46

And you also need to remove login portlet (58) from portlet.add.default.resource.check.whitelist in portal-ext.properties. If you add any portlet in portlet.add.default.resource.check.whitelist property, a portlet link can be created without adding portlet on page.
thumbnail
7年前 に Samuel Kong によって更新されました。

RE: Remove Login Portlet from Public Pages LR6.2CEGA6

Liferay Legend 投稿: 1902 参加年月日: 08/03/10 最新の投稿