Foren

Default landing page in liferay

thumbnail
Ankit Chaudhari, geändert vor 10 Jahren.

Default landing page in liferay

New Member Beiträge: 20 Beitrittsdatum: 06.03.14 Neueste Beiträge
I have created an organization in liferay. url:
 localhost:8080/group/games

The default landing page is set to
 /home

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

2) portal-ext.properties
#DEFAULT LANDING PAGE PATHS
auth.forward.by.last.path=true
default.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
localhost:8080
. Ideally, it should be
localhost:8080/group/games/home

Is there anything I am missing here to make that happen?
thumbnail
Anil T, geändert vor 10 Jahren.

RE: Default landing page in liferay

Expert Beiträge: 313 Beitrittsdatum: 14.01.12 Neueste Beiträge
Hi Ankit,

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

virtual.hosts.default.site.name=orgnization_name

Thanks,
Anil
thumbnail
Ankit Chaudhari, geändert vor 10 Jahren.

RE: Default landing page in liferay

New Member Beiträge: 20 Beitrittsdatum: 06.03.14 Neueste Beiträge
Hello Anil,

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

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

ERROR [http-bio-8080-exec-6][PortalInstances:229] com.liferay.portal.NoSuchGroupException: No Group exists with the key {companyId=10157, name=games}
com.liferay.portal.NoSuchGroupException: No Group exists with the key {companyId=10157, name=games}
thumbnail
Anil T, geändert vor 10 Jahren.

RE: Default landing page in liferay

Expert Beiträge: 313 Beitrittsdatum: 14.01.12 Neueste Beiträge
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.
thumbnail
Ankit Chaudhari, geändert vor 10 Jahren.

RE: Default landing page in liferay

New Member Beiträge: 20 Beitrittsdatum: 06.03.14 Neueste Beiträge
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?
thumbnail
Jaynil A Bagdai, geändert vor 10 Jahren.

RE: Default landing page in liferay

Regular Member Beiträge: 119 Beitrittsdatum: 03.03.12 Neueste Beiträge
Ankit,

Try this out application from market-place.

https://www.liferay.com/marketplace/-/mp/application/17676547
Omar Khazamov, geändert vor 9 Jahren.

RE: Default landing page in liferay

New Member Beitrag: 1 Beitrittsdatum: 30.05.14 Neueste Beiträge
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
thumbnail
Andew Jardine, geändert vor 9 Jahren.

RE: Default landing page in liferay

Liferay Legend Beiträge: 2416 Beitrittsdatum: 22.12.10 Neueste Beiträge
You should still be able to access the login page by going to /c/portal/login -- does that still work for you?