Fórum

Default landing page in liferay

thumbnail
Ankit Chaudhari, modificado 10 Anos atrás.

Default landing page in liferay

New Member Postagens: 20 Data de Entrada: 06/03/14 Postagens Recentes
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, modificado 10 Anos atrás.

RE: Default landing page in liferay

Expert Postagens: 313 Data de Entrada: 14/01/12 Postagens Recentes
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, modificado 10 Anos atrás.

RE: Default landing page in liferay

New Member Postagens: 20 Data de Entrada: 06/03/14 Postagens Recentes
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, modificado 10 Anos atrás.

RE: Default landing page in liferay

Expert Postagens: 313 Data de Entrada: 14/01/12 Postagens Recentes
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, modificado 10 Anos atrás.

RE: Default landing page in liferay

New Member Postagens: 20 Data de Entrada: 06/03/14 Postagens Recentes
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, modificado 10 Anos atrás.

RE: Default landing page in liferay

Regular Member Postagens: 119 Data de Entrada: 03/03/12 Postagens Recentes
Ankit,

Try this out application from market-place.

https://www.liferay.com/marketplace/-/mp/application/17676547
Omar Khazamov, modificado 9 Anos atrás.

RE: Default landing page in liferay

New Member Mensagem: 1 Data de Entrada: 30/05/14 Postagens Recentes
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, modificado 9 Anos atrás.

RE: Default landing page in liferay

Liferay Legend Postagens: 2416 Data de Entrada: 22/12/10 Postagens Recentes
You should still be able to access the login page by going to /c/portal/login -- does that still work for you?