Forums de discussion

Default landing page in liferay

thumbnail
Ankit Chaudhari, modifié il y a 10 années.

Default landing page in liferay

New Member Publications: 20 Date d'inscription: 06/03/14 Publications récentes
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, modifié il y a 10 années.

RE: Default landing page in liferay

Expert Publications: 313 Date d'inscription: 14/01/12 Publications récentes
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, modifié il y a 10 années.

RE: Default landing page in liferay

New Member Publications: 20 Date d'inscription: 06/03/14 Publications récentes
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, modifié il y a 10 années.

RE: Default landing page in liferay

Expert Publications: 313 Date d'inscription: 14/01/12 Publications récentes
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, modifié il y a 10 années.

RE: Default landing page in liferay

New Member Publications: 20 Date d'inscription: 06/03/14 Publications récentes
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, modifié il y a 10 années.

RE: Default landing page in liferay

Regular Member Publications: 119 Date d'inscription: 03/03/12 Publications récentes
Ankit,

Try this out application from market-place.

https://www.liferay.com/marketplace/-/mp/application/17676547
Omar Khazamov, modifié il y a 9 années.

RE: Default landing page in liferay

New Member Envoyer: 1 Date d'inscription: 30/05/14 Publications récentes
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, modifié il y a 9 années.

RE: Default landing page in liferay

Liferay Legend Publications: 2416 Date d'inscription: 22/12/10 Publications récentes
You should still be able to access the login page by going to /c/portal/login -- does that still work for you?