Combination View Flat View Tree View
Threads [ Previous | Next ]
toggle
Shankar Baba
How can i change default url
November 14, 2012 10:57 PM
Answer

Shankar Baba

Rank: Regular Member

Posts: 144

Join Date: October 17, 2012

Recent Posts

Hi,
1.How can i change the default URL like http:localhost:8080 to http:localhost:8080/MyCompany/login, ie on clicking http:localhost:8080 my default page should redorect to http:localhost:8080/MyCompany/login
2.How can i remove the signIn Option from here
Attachment

Attachments: rsz_1.png (376.0k)
Sushil Saini
RE: How can i change default url
November 15, 2012 3:16 AM
Answer

Sushil Saini

Rank: Regular Member

Posts: 102

Join Date: July 27, 2011

Recent Posts

Hi Shivaji ,

Configure the following liferay properties in portal-ext.properties to change the default login page..
default.landing.page.path=/web/guest/home

For removing the "Sign In" you will have to create your own theme using the classic liferay theme and remove the sign in link from the portal.vm file.

Cheers
Sushil Saini
Shankar Baba
RE: How can i change default url
November 15, 2012 5:15 AM
Answer

Shankar Baba

Rank: Regular Member

Posts: 144

Join Date: October 17, 2012

Recent Posts

Thanx for your reply sushil, but when iam Configureing the following liferay properties in portal-ext.properties to change the default login page..
default.landing.page.path=/web/guest/login ,it is working
but when iam making it as /xxx/login , it is not working properly, have a look at the attachment.
Attachment

Attachments: error.png (98.6k)
Sushil Saini
RE: How can i change default url
November 16, 2012 4:24 AM
Answer

Sushil Saini

Rank: Regular Member

Posts: 102

Join Date: July 27, 2011

Recent Posts

Hi Shivaji,

Error screen you have attached is showing the resource not found error. You will have to create a page in liferay portal on this link.

If you are by default going on this page means. your default landing page configuration is right.

Cheers
Sushil Saini
Shankar Baba
RE: How can i change default url
November 16, 2012 9:15 PM
Answer

Shankar Baba

Rank: Regular Member

Posts: 144

Join Date: October 17, 2012

Recent Posts

Sushil,
here my doubt is where can i place my login page to get on clicking http://localhost:8080/quadra/login, ie do i need to place this file in ROOT, or do i eed to create quadra folder in ROOT
One more thing is what doe web/guest/home means , where it is efined?need help,thanx
sangeeth k
RE: How can i change default url
November 17, 2012 12:11 AM
Answer

sangeeth k

Rank: Regular Member

Posts: 110

Join Date: April 22, 2012

Recent Posts

Hi shivaji,

web/guest/home

here guest is default community...

if you need like this web/quadra/login

1 create the quadra community  or rename the guest community name  and under the quadra community create login page


and in portal-ext.proeprties file

1default.landing.page.path=/web/quadra/login


Check the above points....