Foros de discusión

Social Office's page as landing page

thumbnail
Fil Giu, modificado hace 9 años.

Social Office's page as landing page

Junior Member Mensajes: 48 Fecha de incorporación: 20/11/13 Mensajes recientes
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 ?
thumbnail
Muhammed Shafeek V, modificado hace 9 años.

RE: Social Office's page as landing page

Regular Member Mensajes: 140 Fecha de incorporación: 22/07/13 Mensajes recientes
Hi,
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.
thumbnail
Fil Giu, modificado hace 9 años.

RE: Social Office's page as landing page

Junior Member Mensajes: 48 Fecha de incorporación: 20/11/13 Mensajes recientes
Muhammed 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
thumbnail
Tejas Kanani, modificado hace 9 años.

RE: Social Office's page as landing page

Liferay Master Mensajes: 654 Fecha de incorporación: 6/01/09 Mensajes recientes
Hi,
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
thumbnail
Fil Giu, modificado hace 9 años.

[solved] RE: Social Office's page as landing page

Junior Member Mensajes: 48 Fecha de incorporación: 20/11/13 Mensajes recientes
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!!!
thumbnail
Suraj Bihari, modificado hace 9 años.

RE: [solved] RE: Social Office's page as landing page

Junior Member Mensajes: 44 Fecha de incorporación: 20/12/13 Mensajes recientes
For future reference:

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
thumbnail
chandan B, modificado hace 9 años.

RE: [solved] RE: Social Office's page as landing page

Junior Member Mensajes: 64 Fecha de incorporación: 6/08/14 Mensajes recientes
Fil 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 hace 9 años.

RE: Social Office's page as landing page

Regular Member Mensajes: 149 Fecha de incorporación: 12/03/13 Mensajes recientes
Fil 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.
thumbnail
Arun D, modificado hace 9 años.

RE: Social Office's page as landing page

Regular Member Mensajes: 166 Fecha de incorporación: 23/07/12 Mensajes recientes
Hi,
Just add "/user" as default landing page in portal settings. Once you login it directly goes to Social office page. emoticon
No need to use Custom landing page hook.

HTH
Arun

Archivos adjuntos:

thumbnail
Suraj Bihari, modificado hace 9 años.

RE: Social Office's page as landing page

Junior Member Mensajes: 44 Fecha de incorporación: 20/12/13 Mensajes recientes
Arun D:
Hi,
Just add "/user" as default landing page in portal settings.


Nice config!