Foros de discusión

Sign out landing page

thumbnail
Muhammed Shafeek V, modificado hace 10 años.

Sign out landing page

Regular Member Mensajes: 140 Fecha de incorporación: 22/07/13 Mensajes recientes
Hi,
How to set user sign out landing page? There is a portal. properties entry for doing that?

My site url is http://localhost:8080/web/tourfilla/home.

when a user log out I want redirect that user to that url instead of this url(http://localhost:8080/web/guest/welcome).

help me,
Shafeek
thumbnail
Pankaj Kathiriya, modificado hace 10 años.

RE: Sign out landing page (Respuesta)

Liferay Master Mensajes: 722 Fecha de incorporación: 5/08/10 Mensajes recientes
There is portal property "default.logout.page.path" for that.

##
## Default Logout Page
##

#
# Set the default logout page path for users relative to the server path.
# This is the page users are automatically redirected to after logging out.
# For example, if you want the default logout page to be
# http://localhost:8080/web/guest/logout, set this to /web/guest/logout. To
# activate this feature, set auth.forward.by.last.path to true. To customize
# the behavior, see com.liferay.portal.events.DefaultLogoutPageAction in
# the "logout.events.post" property above.
#
default.logout.page.path=
#default.logout.page.path=/web/guest/logout

Regards
Virat sen, modificado hace 8 años.

Re: [Liferay Forums][3. Development] RE: Sign out landing page

Junior Member Mensajes: 57 Fecha de incorporación: 21/07/13 Mensajes recientes
Or u can do it frm control panel.also.
On Mar 14, 2014 7:14 PM, "Pankaj Kathiriya from liferay.com" <
forums@liferay.com> wrote:
>
> There is portal property "default.logout.page.path" for that.
>
>
> Regards
>
>
> To view the thread, follow the link below:
>
https://www.liferay.com/community/forums/-/message_boards/view_message/35684620
> --
> Liferay.com
thumbnail
Ouadia Gamrane, modificado hace 10 años.

RE: Sign out landing page (Respuesta)

Junior Member Mensajes: 35 Fecha de incorporación: 16/01/14 Mensajes recientes
Hi,
its simple you should go to you control panel >> portal >> Portal Settings, you will find under General landing page Settings.
Regards
thumbnail
Enrique Valdes Lacasa, modificado hace 9 años.

RE: Sign out landing page

Junior Member Mensajes: 92 Fecha de incorporación: 29/07/14 Mensajes recientes
I am using Liferay 6.2.1 CE but the Control Panel setting didn't work for me. But the modification through portal-ext.properties worked! so it is ok I guess. I print the stack trace that I get when saving the property through the Control Panel, in case it helps to find a fix for the error. It also prompts a "Portal Settings is temporarily unavailable" error message.

23:07:49,532 ERROR [http-bio-8080-exec-12][render_portlet_jsp:132] null
com.liferay.portal.LocaleException
	at com.liferay.portal.service.impl.CompanyLocalServiceImpl.validateLanguageIds(CompanyLocalServiceImpl.java:1487)
	at com.liferay.portal.service.impl.CompanyLocalServiceImpl.updatePreferences(CompanyLocalServiceImpl.java:1081)
	at com.liferay.portal.service.CompanyLocalServiceWrapper.updatePreferences(CompanyLocalServiceWrapper.java:765)
	at com.liferay.portal.kernel.bean.ClassLoaderBeanHandler.invoke(ClassLoaderBeanHandler.java:67)
	at com.liferay.portal.dao.shard.advice.ShardCompanyAdvice.invoke(ShardCompanyAdvice.java:105)
	at com.liferay.portal.spring.aop.ServiceBeanMethodInvocation.proceed(ServiceBeanMethodInvocation.java:111)
	at com.liferay.portal.spring.transaction.DefaultTransactionExecutor.execute(DefaultTransactionExecutor.java:62)
	at com.liferay.portal.spring.transaction.TransactionInterceptor.invoke(TransactionInterceptor.java:51)
	at com.liferay.portal.spring.aop.ServiceBeanMethodInvocation.proceed(ServiceBeanMethodInvocation.java:111)
	at com.liferay.portal.spring.aop.ServiceBeanAopProxy.invoke(ServiceBeanAopProxy.java:175)
	at com.liferay.portal.service.impl.CompanyServiceImpl.updatePreferences(CompanyServiceImpl.java:467)
	at com.liferay.portal.service.impl.CompanyServiceImpl.updateCompany(CompanyServiceImpl.java:356)
	at com.liferay.portal.spring.aop.ServiceBeanMethodInvocation.proceed(ServiceBeanMethodInvocation.java:115)
	at com.liferay.portal.spring.transaction.DefaultTransactionExecutor.execute(DefaultTransactionExecutor.java:62)
	at com.liferay.portal.spring.transaction.TransactionInterceptor.invoke(TransactionInterceptor.java:51)
	at com.liferay.portal.spring.aop.ServiceBeanMethodInvocation.proceed(ServiceBeanMethodInvocation.java:111)
	at com.liferay.portal.spring.aop.ChainableMethodAdvice.invoke(ChainableMethodAdvice.java:56)
	at com.liferay.portal.spring.aop.ServiceBeanMethodInvocation.proceed(ServiceBeanMethodInvocation.java:111)
	at com.liferay.portal.spring.aop.ChainableMethodAdvice.invoke(ChainableMethodAdvice.java:56)
	at com.liferay.portal.spring.aop.ServiceBeanMethodInvocation.proceed(ServiceBeanMethodInvocation.java:111)