Fórum

Multiple Sites with Different Landing Pages

Andy Lim, modificado 8 Anos atrás.

Multiple Sites with Different Landing Pages

New Member Postagens: 9 Data de Entrada: 19/12/14 Postagens Recentes
I have a question. Is it possible to have a different landing page for different site in Liferay?
Let's say I have setup 2 private sites, each site have different landing page after user login.

Thanks in advance.
thumbnail
Denis Signoretto, modificado 8 Anos atrás.

RE: Multiple Sites with Different Landing Pages (Resposta)

Expert Postagens: 375 Data de Entrada: 21/04/09 Postagens Recentes
Hi Andy,

AFAIK it's not possible out of the box but you can write your own hook to adapt Liferay to your needs.
A good starting point for this customization is this Custom Landing Page Hook available on marketplace. Source code is available here.

Regards,
Denis.
Andy Lim, modificado 8 Anos atrás.

RE: Multiple Sites with Different Landing Pages

New Member Postagens: 9 Data de Entrada: 19/12/14 Postagens Recentes
Hi Dennis,

Thank you for your reply. The Custom Landing Page Hook is exactly what I require.
I suppose for different sign out page for multiple site would require a custom hook to achieve it as well.

Regards,
Andy
thumbnail
Denis Signoretto, modificado 8 Anos atrás.

RE: Multiple Sites with Different Landing Pages

Expert Postagens: 375 Data de Entrada: 21/04/09 Postagens Recentes
Hi Andy,

yes, you can include in your hook a custom logic for logout using/changing the following properties

logout.events.pre
logout.events.post


Best Regards,
Denis.
Andy Lim, modificado 8 Anos atrás.

RE: Multiple Sites with Different Landing Pages

New Member Postagens: 9 Data de Entrada: 19/12/14 Postagens Recentes
Hi Denis,

I will explore further on this. Thank you for the guidance.

Thanks & Regards,
Andy