Forums

Home » Liferay Portal » English » 3. Development

Combination View Flat View Tree View
Threads [ Previous | Next ]
toggle
Ankit Chaudhari
Default landing page in liferay
April 9, 2014 12:31 PM
Answer

Ankit Chaudhari

Rank: New Member

Posts: 19

Join Date: March 6, 2014

Recent Posts

I have created an organization in liferay. url:
1 localhost:8080/group/games

The default landing page is set to
1 /home

I've made this sure at 2 places -
1) Admin > Control Panel > Portal Settings set home URL and Default Landing Page to
1group/games/home

2) portal-ext.properties
1#DEFAULT LANDING PAGE PATHS
2auth.forward.by.last.path=true
3default.landing.page.path=/group/high5games/home

Said that, whenever i login with any user, even though the user is landed up on the expected page, but the url which is shown in the address bar is always
1localhost:8080
. Ideally, it should be
1localhost:8080/group/games/home

Is there anything I am missing here to make that happen?
Anil T
RE: Default landing page in liferay
April 9, 2014 11:27 PM
Answer

Anil T

Rank: Regular Member

Posts: 194

Join Date: January 14, 2012

Recent Posts

Hi Ankit,

Add below property in portal-ext.properties with you organization name.

virtual.hosts.default.site.name=orgnization_name

Thanks,
Anil
Ankit Chaudhari
RE: Default landing page in liferay
April 10, 2014 7:48 AM
Answer

Ankit Chaudhari

Rank: New Member

Posts: 19

Join Date: March 6, 2014

Recent Posts

Hello Anil,

I put this in the portal-ext.properties file
1virtual.hosts.default.site.name=games

and I am able to get the expected behavior.
But, I get an exception in the log,

1ERROR [http-bio-8080-exec-6][PortalInstances:229] com.liferay.portal.NoSuchGroupException: No Group exists with the key {companyId=10157, name=games}
2com.liferay.portal.NoSuchGroupException: No Group exists with the key {companyId=10157, name=games}
Anil T
RE: Default landing page in liferay
April 10, 2014 11:31 AM
Answer

Anil T

Rank: Regular Member

Posts: 194

Join Date: January 14, 2012

Recent Posts

Hi,

That is coming because of your games is organization and this is expecting the group. Can you try creating a group/site like games and check. I think this is not suitable for the organization.
Ankit Chaudhari
RE: Default landing page in liferay
April 11, 2014 12:05 PM
Answer

Ankit Chaudhari

Rank: New Member

Posts: 19

Join Date: March 6, 2014

Recent Posts

I can try that...

And you are right... my games is an organization i created.
So, isnt there any way to default the landing page to the organization home page?
Jaynil A Bagdai
RE: Default landing page in liferay
April 12, 2014 12:42 AM
Answer

Jaynil A Bagdai

Rank: Regular Member

Posts: 120

Join Date: March 3, 2012

Recent Posts

Ankit,

Try this out application from market-place.

https://www.liferay.com/marketplace/-/mp/application/17676547
Omar Khazamov
RE: Default landing page in liferay
May 30, 2014 10:27 AM
Answer

Omar Khazamov

Rank: New Member

Posts: 1

Join Date: May 30, 2014

Recent Posts

Hey there.
How do I look up the content of guest pages? Here is example:
I have default landing page set as web/guest, which used to have login hook on it. Unfortunately, sign in plugin is not there anymore. Hoping looking to the content of web/guest will give me some info.

Thanks
Andew Jardine
RE: Default landing page in liferay
May 30, 2014 1:42 PM
Answer

Andew Jardine

Rank: Regular Member

Posts: 218

Join Date: December 22, 2010

Recent Posts

You should still be able to access the login page by going to /c/portal/login -- does that still work for you?