Forums de discussion
Social Office's page as landing page
Fil Giu, modifié il y a 9 années.
Social Office's page as landing page
Junior Member Publications: 48 Date d'inscription: 20/11/13 Publications récentes
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, modifié il y a 9 années.
RE: Social Office's page as landing page
Regular Member Publications: 140 Date d'inscription: 22/07/13 Publications récentes
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, modifié il y a 9 années.
RE: Social Office's page as landing page
Junior Member Publications: 48 Date d'inscription: 20/11/13 Publications récentesMuhammed 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, modifié il y a 9 années.
RE: Social Office's page as landing page
Liferay Master Publications: 654 Date d'inscription: 06/01/09 Publications récentes
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, modifié il y a 9 années.
[solved] RE: Social Office's page as landing page
Junior Member Publications: 48 Date d'inscription: 20/11/13 Publications récentesTejas 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, modifié il y a 9 années.
RE: [solved] RE: Social Office's page as landing page
Junior Member Publications: 44 Date d'inscription: 20/12/13 Publications récentes
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, modifié il y a 9 années.
RE: [solved] RE: Social Office's page as landing page
Junior Member Publications: 64 Date d'inscription: 06/08/14 Publications récentesFil 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, modifié il y a 9 années.
RE: Social Office's page as landing page
Regular Member Publications: 149 Date d'inscription: 12/03/13 Publications récentesFil 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, modifié il y a 9 années.
RE: Social Office's page as landing page
Regular Member Publications: 166 Date d'inscription: 23/07/12 Publications récentes
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
Pièces jointes:
Suraj Bihari, modifié il y a 9 années.
RE: Social Office's page as landing page
Junior Member Publications: 44 Date d'inscription: 20/12/13 Publications récentesArun D:
Hi,
Just add "/user" as default landing page in portal settings.
Nice config!