Combination View Flat View Tree View
Threads [ Previous | Next ]
toggle
anson yvs
How to set Landing Page Dynamically ?
November 23, 2012 1:37 AM
Answer

anson yvs

Rank: New Member

Posts: 22

Join Date: August 8, 2012

Recent Posts

Hi guys,

I got my site url set as /guest (as default), i would like to set my landing page to point my users back to their home page dynamically as they logged in.

I tried something like : /web/user/home, it directs me to my user home page instead, although i log in using admin.
Same goes to : /web/admin/home, my user can even access to my admin home page, it doesnt work.

As i noticed, its taking screen name cofigured in each user as the parameter before /home, correct ?

Dynamically, would be something like /$screenname/home ?

Any idea ?

Thanks,
Anson
Anil Sunkari
RE: How to set Landing Page Dynamically ?
November 25, 2012 8:50 PM
Answer

Anil Sunkari

Rank: Expert

Posts: 397

Join Date: August 11, 2009

Recent Posts

Hi Anson,

I think here you have to deal with customizing DefaultLandinPageAction to work out dynamically.
Refer Source code for the above class and do customization on your requirement basis.So that you can achive the task.

Regards,
Anil Sunkari
Ben Chapman
RE: How to set Landing Page Dynamically ?
December 9, 2012 8:27 AM
Answer

Ben Chapman

Rank: New Member

Posts: 23

Join Date: March 7, 2011

Recent Posts

We use this plugin and it has worked for us (6.1 EE):

http://www.liferay.com/community/forums/-/message_boards/message/12926980

Perhaps it will help you?

Thanks, Ben