Fórum
Social Office's page as landing page
Fil Giu, modificado 9 Anos atrás.
Social Office's page as landing page
Junior Member Postagens: 48 Data de Entrada: 20/11/13 Postagens Recentes
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, modificado 9 Anos atrás.
RE: Social Office's page as landing page
Regular Member Postagens: 140 Data de Entrada: 22/07/13 Postagens Recentes
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, modificado 9 Anos atrás.
RE: Social Office's page as landing page
Junior Member Postagens: 48 Data de Entrada: 20/11/13 Postagens RecentesMuhammed 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, modificado 9 Anos atrás.
RE: Social Office's page as landing page
Liferay Master Postagens: 654 Data de Entrada: 06/01/09 Postagens Recentes
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, modificado 9 Anos atrás.
[solved] RE: Social Office's page as landing page
Junior Member Postagens: 48 Data de Entrada: 20/11/13 Postagens RecentesTejas 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, modificado 9 Anos atrás.
RE: [solved] RE: Social Office's page as landing page
Junior Member Postagens: 44 Data de Entrada: 20/12/13 Postagens Recentes
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, modificado 9 Anos atrás.
RE: [solved] RE: Social Office's page as landing page
Junior Member Postagens: 64 Data de Entrada: 06/08/14 Postagens RecentesFil 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, modificado 9 Anos atrás.
RE: Social Office's page as landing page
Regular Member Postagens: 149 Data de Entrada: 12/03/13 Postagens RecentesFil 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, modificado 9 Anos atrás.
RE: Social Office's page as landing page
Regular Member Postagens: 166 Data de Entrada: 23/07/12 Postagens Recentes
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
Anexos:
Suraj Bihari, modificado 9 Anos atrás.
RE: Social Office's page as landing page
Junior Member Postagens: 44 Data de Entrada: 20/12/13 Postagens RecentesArun D:
Hi,
Just add "/user" as default landing page in portal settings.
Nice config!