Fórum

Default Landing Page to myCommunity

Mitesh Patel, modificado 13 Anos atrás.

Default Landing Page to myCommunity

New Member Mensagem: 1 Data de Entrada: 16/06/10 Postagens Recentes
How can i set my default landing page to private page of mycommunity? or usergroups private page?emoticon
thumbnail
Corné A, modificado 13 Anos atrás.

RE: Default Landing Page to myCommunity

Liferay Legend Postagens: 1313 Data de Entrada: 03/10/06 Postagens Recentes
try this in our portal-ext.properies



    #
    # Set this to true if users are forwarded to the last visited path upon
    # successful login. If set to false, users will be forwarded to their
    # default layout page.
    #
    auth.forward.by.last.path=false

##
## Default Landing Page
##

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




furthermore when redirecting to a private page the users must have permission to view this page!
thumbnail
Dhrutika Parekh, modificado 13 Anos atrás.

RE: Default Landing Page to myCommunity

Expert Postagens: 435 Data de Entrada: 09/02/09 Postagens Recentes
Hi,

If you want like for each user landing page should be their own private page,then for that you can extend DefaultLandingAction.java

Thanks,
Dhrutika
thumbnail
Ivan Cheung, modificado 13 Anos atrás.

RE: Default Landing Page to myCommunity

Regular Member Postagens: 113 Data de Entrada: 20/06/06 Postagens Recentes
auth.forward.by.last.path=false will take you to my private layouts unless you are logging in with a domain that is recognized as a Virtual Host name within the portal. For example, if you login using domain of abc.com, and abc.com is specified as a Virtual Host name, then you will be redirected to the Virtual Hosted communities home page.