Combination View Flat View Tree View
Threads [ Previous | Next ]
toggle
Mitesh Patel
Default Landing Page to myCommunity
June 17, 2010 11:04 PM
Answer

Mitesh Patel

Rank: New Member

Posts: 1

Join Date: June 16, 2010

Recent Posts

How can i set my default landing page to private page of mycommunity? or usergroups private page?emoticon
Corné Aussems
RE: Default Landing Page to myCommunity
June 18, 2010 2:39 AM
Answer

Corné Aussems

Rank: Liferay Legend

Posts: 1263

Join Date: October 3, 2006

Recent Posts

try this in our portal-ext.properies

 1
 2
 3    #
 4    # Set this to true if users are forwarded to the last visited path upon
 5    # successful login. If set to false, users will be forwarded to their
 6    # default layout page.
 7    #
 8    auth.forward.by.last.path=false
 9
10##
11## Default Landing Page
12##
13
14    #
15    # Set the default landing page path for logged in users relative to the
16    # server path. This is the page users are automatically redirected to after
17    # logging in. For example, if you want the default landing page to be
18    # http://localhost:8080/web/guest/login, set this to /web/guest/login. To
19    # activate this feature, set auth.forward.by.last.path to true. To customize
20    # the behavior, see com.liferay.portal.events.DefaultLandingPageAction in
21    # the "login.events.post" property above.
22    #
23    default.landing.page.path=/web/guest/login


furthermore when redirecting to a private page the users must have permission to view this page!
Dhrutika Vyas
RE: Default Landing Page to myCommunity
June 21, 2010 3:22 AM
Answer

Dhrutika Vyas

Rank: Expert

Posts: 435

Join Date: February 9, 2009

Recent Posts

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
Ivan Cheung
RE: Default Landing Page to myCommunity
December 30, 2010 3:40 PM
Answer

Ivan Cheung

LIFERAY STAFF

Rank: Regular Member

Posts: 113

Join Date: June 20, 2006

Recent Posts

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.