Foros de discusión

Multiple Sites with Different Landing Pages

Andy Lim, modificado hace 8 años.

Multiple Sites with Different Landing Pages

New Member Mensajes: 9 Fecha de incorporación: 19/12/14 Mensajes recientes
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 hace 8 años.

RE: Multiple Sites with Different Landing Pages (Respuesta)

Expert Mensajes: 375 Fecha de incorporación: 21/04/09 Mensajes recientes
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 hace 8 años.

RE: Multiple Sites with Different Landing Pages

New Member Mensajes: 9 Fecha de incorporación: 19/12/14 Mensajes recientes
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 hace 8 años.

RE: Multiple Sites with Different Landing Pages

Expert Mensajes: 375 Fecha de incorporación: 21/04/09 Mensajes recientes
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 hace 8 años.

RE: Multiple Sites with Different Landing Pages

New Member Mensajes: 9 Fecha de incorporación: 19/12/14 Mensajes recientes
Hi Denis,

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

Thanks & Regards,
Andy