Foren
Social Office's page as landing page
Fil Giu, geändert vor 9 Jahren.
Social Office's page as landing page
Junior Member Beiträge: 48 Beitrittsdatum: 20.11.13 Neueste Beiträge
Hi,
I would like to use a Social Office's page for first page after login ( as landing page).
The adress of my page is : http://localhost:8080/user/usernameusername/so/dashboard
where usernameusername changes for each user.
What is the address that I should use?
Is there a way for this ?
I would like to use a Social Office's page for first page after login ( as landing page).
The adress of my page is : http://localhost:8080/user/usernameusername/so/dashboard
where usernameusername changes for each user.
What is the address that I should use?
Is there a way for this ?
Muhammed Shafeek V, geändert vor 9 Jahren.
RE: Social Office's page as landing page
Regular Member Beiträge: 140 Beitrittsdatum: 22.07.13 Neueste Beiträge
Hi,
You don't need to use any address specifically, Instead just create a hook that will direct user to his private page after log in. To get private page url use,
Or use custom landing hook or landing page manager from market place.
HTH,
M Shafeek V.
What is the address that I should use?
You don't need to use any address specifically, Instead just create a hook that will direct user to his private page after log in. To get private page url use,
user.getDisplayURL(themeDisplay, true);
Or use custom landing hook or landing page manager from market place.
HTH,
M Shafeek V.
Fil Giu, geändert vor 9 Jahren.
RE: Social Office's page as landing page
Junior Member Beiträge: 48 Beitrittsdatum: 20.11.13 Neueste BeiträgeMuhammed Shafeek V:
Hi,
...
Or use custom landing hook or landing page manager from market place.
HTH,
M Shafeek V.
landing page manager not support Liferay 6.2.
custom landing hook don't work. With this hook active, I have an error after login: "Error content encoding".
In Liferay 6.2,in "Portal settings" we have 2 input "Default Landing Page" e "Default Logout Page" that accept URL.
Is there a special character for insert username in URL ?
For example: /user/#specialcharacter#/so/dashboard
Tejas Kanani, geändert vor 9 Jahren.
RE: Social Office's page as landing page
Liferay Master Beiträge: 654 Beitrittsdatum: 06.01.09 Neueste Beiträge
Hi,
Well, I've not verified the compatibility of Custom Landing Page Hook with Liferay Social Office. So not sure if would work without any issue with SO. If you can send the error logs I can take a look at it though.
Yes. For user screename you can use "${liferay:screenName}" token in Portal settings -> Default Landing Page.
i.e./user/${liferay:screenName}/so/dashboard
Thanks,
Tejas
custom landing hook don't work. With this hook active, I have an error after login: "Error content encoding".
Well, I've not verified the compatibility of Custom Landing Page Hook with Liferay Social Office. So not sure if would work without any issue with SO. If you can send the error logs I can take a look at it though.
In Liferay 6.2,in "Portal settings" we have 2 input "Default Landing Page" e "Default Logout Page" that accept URL.
Is there a special character for insert username in URL ?
For example: /user/#specialcharacter#/so/dashboard
Yes. For user screename you can use "${liferay:screenName}" token in Portal settings -> Default Landing Page.
i.e./user/${liferay:screenName}/so/dashboard
Thanks,
Tejas
Fil Giu, geändert vor 9 Jahren.
[solved] RE: Social Office's page as landing page
Junior Member Beiträge: 48 Beitrittsdatum: 20.11.13 Neueste BeiträgeTejas Kanani:
Yes. For user screename you can use "${liferay:screenName}" token in Portal settings -> Default Landing Page.
i.e./user/${liferay:screenName}/so/dashboard
Thanks,
Tejas
Great! It's work!
Thanks Tejas!!!
Suraj Bihari, geändert vor 9 Jahren.
RE: [solved] RE: Social Office's page as landing page
Junior Member Beiträge: 44 Beitrittsdatum: 20.12.13 Neueste Beiträge
For future reference:
You can also set this in portal-ext.properties:
HTH!
Suraj
You can also set this in portal-ext.properties:
# To activate this feature, set auth.forward.by.last.path to true. To customize
# the behavior, see com.liferay.portal.events.DefaultLandingPageAction in
# the "login.events.post" property above.
#
# The following variables can be used: ${liferay:screenName} and
# ${liferay:userId}.
#
#default.landing.page.path=
#default.landing.page.path=/web/guest/login
default.landing.page.path=/user/${liferay:screenName}/home
HTH!
Suraj
chandan B, geändert vor 9 Jahren.
RE: [solved] RE: Social Office's page as landing page
Junior Member Beiträge: 64 Beitrittsdatum: 06.08.14 Neueste BeiträgeFil Giu:
Tejas Kanani:
Yes. For user screename you can use "${liferay:screenName}" token in Portal settings -> Default Landing Page.
i.e./user/${liferay:screenName}/so/dashboard
Thanks,
Tejas
Great! It's work!
Thanks Tejas!!!
Thanks it worked well for me
Arun R S Chandran, geändert vor 9 Jahren.
RE: Social Office's page as landing page
Regular Member Beiträge: 149 Beitrittsdatum: 12.03.13 Neueste BeiträgeFil Giu:
Hi,
I would like to use a Social Office's page for first page after login ( as landing page).
The adress of my page is : http://localhost:8080/user/usernameusername/so/dashboard
where usernameusername changes for each user.
What is the address that I should use?
Is there a way for this ?
You can write a login hook for the redirection. Also one portlet landing page configuration portlet available with Liferay marketplace.
Arun D, geändert vor 9 Jahren.
RE: Social Office's page as landing page
Regular Member Beiträge: 166 Beitrittsdatum: 23.07.12 Neueste Beiträge
Hi,
Just add "/user" as default landing page in portal settings. Once you login it directly goes to Social office page.
No need to use Custom landing page hook.
HTH
Arun
Just add "/user" as default landing page in portal settings. Once you login it directly goes to Social office page.
No need to use Custom landing page hook.
HTH
Arun
Anhänge:
Suraj Bihari, geändert vor 9 Jahren.
RE: Social Office's page as landing page
Junior Member Beiträge: 44 Beitrittsdatum: 20.12.13 Neueste BeiträgeArun D:
Hi,
Just add "/user" as default landing page in portal settings.
Nice config!