Ask Questions and Find Answers
Important:
Ask is now read-only. You can review any existing questions and answers, but not add anything new.
But - don't panic! While ask is no more, we've replaced it with discuss - the new Liferay Discussion Forum! Read more here here or just visit the site here:
discuss.liferay.com
Default login page....
Hi all,
i want to make the login page of liferay the default page instead of the home page.So i changed the following property in portal-ext.properties
company.default.home.url=/web/guest/home?p_p_id=58&p_p_lifecycle=0&p_p_state=maximized&p_p_mode=view&saveLastPath=0&_58_struts_action=%2Flogin%2Flogin
so that after restarting the server the company home page would be the login.jasp page and after logging in the user will see the home page as usual.
But the problem is the same property is working fine in liferay-portal-5.2.3 CE bundle and i m getting the login page first after restarting the server but the same is not happening in liferay6.0.6 CE.
Why so????????/is there any security policies applied in 6.0.6??????????????then how can i make the login page the default page??????????//
please help me out..............
Thanks
Rojalin
i want to make the login page of liferay the default page instead of the home page.So i changed the following property in portal-ext.properties
company.default.home.url=/web/guest/home?p_p_id=58&p_p_lifecycle=0&p_p_state=maximized&p_p_mode=view&saveLastPath=0&_58_struts_action=%2Flogin%2Flogin
so that after restarting the server the company home page would be the login.jasp page and after logging in the user will see the home page as usual.
But the problem is the same property is working fine in liferay-portal-5.2.3 CE bundle and i m getting the login page first after restarting the server but the same is not happening in liferay6.0.6 CE.
Why so????????/is there any security policies applied in 6.0.6??????????????then how can i make the login page the default page??????????//
please help me out..............
Thanks
Rojalin
Is there any solution for this.....????????
please help me out.......
Any help would be greatly appreciated...
Thanks
Rojalin
please help me out.......
Any help would be greatly appreciated...
Thanks
Rojalin
Hi,
Follow this procedure
1.Create One public page (for example login)in Liferay.com community, on that page add signin portlet, As per your wish You can make login page as hidden page.
2. company.default.home.url=/web/guest/login. in portal-ext.properties file
Its working fine for me...
Thanks
Follow this procedure
1.Create One public page (for example login)in Liferay.com community, on that page add signin portlet, As per your wish You can make login page as hidden page.
2. company.default.home.url=/web/guest/login. in portal-ext.properties file
Its working fine for me...
Thanks
Hi Karthik,
thanks for the reply.Actually in my case when i m giving company.default.home.url=/web/guest/test (i have kept my login portlet in test page),it's always landing at http://localhost:8080.It's not atall going to the page.That's what was my doubt,whatever may be the page address upon restarting the server it's always landing at the home page url.
I wonder whether changing company default home page is possible in 6.0.6 or not.Because the same feature is working fine in 5.2.3.
i am not able to make out why this is not happening.....
Any suggestions..............
Thanks
Rojalin
thanks for the reply.Actually in my case when i m giving company.default.home.url=/web/guest/test (i have kept my login portlet in test page),it's always landing at http://localhost:8080.It's not atall going to the page.That's what was my doubt,whatever may be the page address upon restarting the server it's always landing at the home page url.
I wonder whether changing company default home page is possible in 6.0.6 or not.Because the same feature is working fine in 5.2.3.
i am not able to make out why this is not happening.....
Any suggestions..............
Thanks
Rojalin
Hi,
Im also using LR6.0.6, You need set home url in the portal settings, as /web/guest/signin{ur test page name}, Its working for me
Regards,
Karthik
Im also using LR6.0.6, You need set home url in the portal settings, as /web/guest/signin{ur test page name}, Its working for me
Regards,
Karthik
Hi Karthik,
please tell me how to set home url in the portal settings, as /web/guest/signin{ur test page name}.Do you mean the settings link we get under "manage" once you login as admin?????????
Thanks
Rojalin
please tell me how to set home url in the portal settings, as /web/guest/signin{ur test page name}.Do you mean the settings link we get under "manage" once you login as admin?????????
Thanks
Rojalin
Hi,
for that we need to go to Control panel under manage tab,
click on portal settings in control panel,
In that we can see the Home URL under navigation part,
In home url we can set /web/guest/signin
Regards,
Karthik
for that we need to go to Control panel under manage tab,
click on portal settings in control panel,
In that we can see the Home URL under navigation part,
In home url we can set /web/guest/signin
Regards,
Karthik
Hi Karthik,
i followed up the steps.i have kept my signin portlet in test page and i gave the path in HomeUrl=/web/guest/test.still it's going to the web/guest/home page.
Any guess why it's not going to the test page even after clearing all the private data,cookies and restarting the server also??????????????????/
Thanks
Rojalin
i followed up the steps.i have kept my signin portlet in test page and i gave the path in HomeUrl=/web/guest/test.still it's going to the web/guest/home page.
Any guess why it's not going to the test page even after clearing all the private data,cookies and restarting the server also??????????????????/
Thanks
Rojalin
Try to give in portal-ext.properties file,
auth.forward.by.last.path = true
default.landing.page.path = your login path
or
company.default.home.url=/c/portal/login
auth.forward.by.last.path = true
default.landing.page.path = your login path
or
company.default.home.url=/c/portal/login
Tried all the suggestions...but still no luck....it's always coming to the home page at http://localhost:8080...
Any one tried out the same in their bundles....
Any body faced the same issue ever???????????//
Another thing i observed,even after removing the portal-ext.properties where i had set default.landing.page.path = /web/guest/test2 ,it's still going to test2 page after login.The same is happening even after clearing the cache,cookies and all private data....
is it a problem with liferay 6 CE..or i am doing something wrong....
please help...........
Any one tried out the same in their bundles....
Any body faced the same issue ever???????????//
Another thing i observed,even after removing the portal-ext.properties where i had set default.landing.page.path = /web/guest/test2 ,it's still going to test2 page after login.The same is happening even after clearing the cache,cookies and all private data....
is it a problem with liferay 6 CE..or i am doing something wrong....
please help...........