How can we change the default landing page pro-grammatically from a portlet. I need to change the landing page from a portlet. I tried to look into the com.liferay.portlet.portalsettings.action.EditCompanyAction
But there they are not updating the landing page.
How can I achieve the above functionality?
Or what is the class that is responsible for setting the default page from UI.
-
Is it about post login landing page?– Pankaj KathiriyaJun 16, 2014 at 6:53
-
Have a look at : liferay.com/marketplace/-/mp/application/17676547– Pankaj KathiriyaJun 16, 2014 at 7:29
-
Hey Pankaj, It is about the login landing page only. I have seen that app. but that changes the landing page after login dynamically. But I want to set the page programmatically from a portlet. Is that possible??– DanishJun 16, 2014 at 7:33
-
I did not get it, can you please elaborate more on requirement– Pankaj KathiriyaJun 16, 2014 at 7:59
-
What I had to do is that I need to give a portlet to some user who can set the landing page post login. I need to give users, list of pages and user will select the landing page from that list.– DanishJun 16, 2014 at 8:24
|
Show 2 more comments