Foren
How to change the default page of liferay to login page?
Rojalin Patri, geändert vor 13 Jahren.
How to change the default page of liferay to login page?
Expert Beiträge: 287 Beitrittsdatum: 22.03.11 Neueste Beiträge
Hi folks,
Whenever we are giving the url of liferay portal by default it's going to the home page.i want to change this default page to login page.How should i do it....please help.I tried modifying the auth.login.url property to login page (auth.login.url=/login) in portal.properties file.But it's not working as expected.Please suggest me what to do........
Whenever we are giving the url of liferay portal by default it's going to the home page.i want to change this default page to login page.How should i do it....please help.I tried modifying the auth.login.url property to login page (auth.login.url=/login) in portal.properties file.But it's not working as expected.Please suggest me what to do........
Samuel Kong, geändert vor 13 Jahren.
RE: How to change the default page of liferay to login page?
Liferay Legend Beiträge: 1902 Beitrittsdatum: 10.03.08 Neueste Beiträge
You should be able set the following property in portal-ext.properties:
#
# This sets the default home URL of the portal.
#
company.default.home.url=/web/guest
Rojalin Patri, geändert vor 13 Jahren.
RE: How to change the default page of liferay to login page?
Expert Beiträge: 287 Beitrittsdatum: 22.03.11 Neueste Beiträge
hi,
i changed the portal.properties file and set it to company.default.home.url=/login,but after restarting the server the page becomes blank and remains idle with a message "waiting for login page" without displaying the login page.
i changed the portal.properties file and set it to company.default.home.url=/login,but after restarting the server the page becomes blank and remains idle with a message "waiting for login page" without displaying the login page.
Hitoshi Ozawa, geändert vor 13 Jahren.
RE: How to change the default page of liferay to login page?
Liferay Legend Beiträge: 7942 Beitrittsdatum: 24.03.10 Neueste Beiträgei changed the portal.properties file and set it to company.default.home.url=/login,but after restarting the server the page becomes blank and remains idle with a message "waiting for login page" without displaying the login page.
Probably because there is no /login page.
I think you want the following page:
company.default.home.url=/c/portal/login
Rojalin Patri, geändert vor 13 Jahren.
RE: How to change the default page of liferay to login page?
Expert Beiträge: 287 Beitrittsdatum: 22.03.11 Neueste BeiträgeHitoshi Ozawa:
i changed the portal.properties file and set it to company.default.home.url=/login,but after restarting the server the page becomes blank and remains idle with a message "waiting for login page" without displaying the login page.
Probably because there is no /login page.
I think you want the following page:
company.default.home.url=/c/portal/login
Hi,
i got it resolved by setting the property company.default.home.url=/web/guest/home?p_p_id=58&p_p_lifecycle=0&p_p_state=maximized&p_p_mode=view.But even after deleting the cookies the page shows @liferay.com in user name textbox.If the user wants nothing should be displayed in user name place then what should be done.....please suggest......
Vishal Mehta, geändert vor 13 Jahren.
RE: How to change the default page of liferay to login page?
Junior Member Beiträge: 42 Beitrittsdatum: 08.03.11 Neueste Beiträge
You can do this by editing organization properties in the control panel. Can also set it to standard organization id like abc@organization.com instead of abc@liferay.com
Rojalin Patri, geändert vor 13 Jahren.
RE: How to change the default page of liferay to login page?
Expert Beiträge: 287 Beitrittsdatum: 22.03.11 Neueste Beiträge
Hi,
after setting the login page as default still the options like "welcome" is visible in the navigation bar (just below the liferay logo).can anyone suggest me how to remove that bar from the login page.Actually we have deployed this login page as login hook.so may be for that reason it is not replacing the portal default page as a whole and the upper part is retained as such.so if there is any other way to change the html part of the portal default page so that we can delete the navigation bar along with the option "welcome" from the login page,please suggest.............
Thanks
Rojalin
after setting the login page as default still the options like "welcome" is visible in the navigation bar (just below the liferay logo).can anyone suggest me how to remove that bar from the login page.Actually we have deployed this login page as login hook.so may be for that reason it is not replacing the portal default page as a whole and the upper part is retained as such.so if there is any other way to change the html part of the portal default page so that we can delete the navigation bar along with the option "welcome" from the login page,please suggest.............
Thanks
Rojalin
Samuel Kong, geändert vor 13 Jahren.
RE: How to change the default page of liferay to login page?
Liferay Legend Beiträge: 1902 Beitrittsdatum: 10.03.08 Neueste Beiträge
I assume you are referring to the navigation menu.
The navigation menu is controlled by your theme. So you'll need to some added logic to your theme to hide the menu if the user has not signed in. You can use the variable $is_signed_in to test if a user has signed in.
It seems to me like you're trying to password protect all your pages. If you only want authenticated users to use your site, you may want to consider some different approach.
* Switch from using public pages to private pages.
* Remove the guest view permission from all your pages.
The navigation menu is controlled by your theme. So you'll need to some added logic to your theme to hide the menu if the user has not signed in. You can use the variable $is_signed_in to test if a user has signed in.
It seems to me like you're trying to password protect all your pages. If you only want authenticated users to use your site, you may want to consider some different approach.
* Switch from using public pages to private pages.
* Remove the guest view permission from all your pages.
devaraj S, geändert vor 12 Jahren.
RE: How to change the default page of liferay to login page?
Regular Member Beiträge: 100 Beitrittsdatum: 21.02.12 Neueste Beiträge
Hi my requirement is i want to navigate user to his public page lets say /web/{user name}/home after log in
can i do it?
Please let me know steps
Thank you
can i do it?
Please let me know steps
Thank you
Tejas Kanani, geändert vor 12 Jahren.
RE: How to change the default page of liferay to login page?
Liferay Master Beiträge: 654 Beitrittsdatum: 06.01.09 Neueste Beiträge
Hi devaraj,
Check out below post. It's been nicely explained everything in detail.
http://www.liferay.com/web/guest/community/wiki/-/wiki/Main/Customizing+the+default+page+after+login
Thanks,
Tejas
Check out below post. It's been nicely explained everything in detail.
http://www.liferay.com/web/guest/community/wiki/-/wiki/Main/Customizing+the+default+page+after+login
Thanks,
Tejas
Praveen P, geändert vor 12 Jahren.
RE: How to change the default page of liferay to login page?
Regular Member Beiträge: 100 Beitrittsdatum: 21.02.12 Neueste Beiträge
thank you
mohammad azaruddin, geändert vor 10 Jahren.
RE: How to change the default page of liferay to login page?
Expert Beiträge: 492 Beitrittsdatum: 17.09.12 Neueste BeiträgeHitoshi Ozawa:
Probably because there is no /login page.
I think you want the following page:
company.default.home.url=/c/portal/login
Hi Hitoshi Ozawa It doesn't work for me