Foros de discusión
Change Default Private User Page for New Users
Paul Schmidt, modificado hace 11 años.
Change Default Private User Page for New Users
Junior Member Mensajes: 34 Fecha de incorporación: 28/07/10 Mensajes recientes
Hello Community,
I want to define the Style of the default private user pages for new users, with a three column layout and six instances of our own portlets with a special configuration.
I tried to modify the portal-ext.properties, restart the portal and create a new user. But with no success. Neither the layout nor the portlets are right.
My entries (Liferay 6.0.6 CE):
# Selecting the layout template
default.user.layout.template.id=3_columns
# A try with default portlets
default.user.layout.column-1=82
default.user.layout.column-2=81
default.user.layout.column-3=80
The next thing I want to realize is, that a user is redirected to his private page after login. Is this possible without writing a hook?
I found a similar thread with this options, which don't wok for me:
## Redirecting to users private page after login
auth.forward.by.last.path=false
auth.forward.by.redirect=false
Can anybody help?
Best regards
P. Schmidt
I want to define the Style of the default private user pages for new users, with a three column layout and six instances of our own portlets with a special configuration.
I tried to modify the portal-ext.properties, restart the portal and create a new user. But with no success. Neither the layout nor the portlets are right.
My entries (Liferay 6.0.6 CE):
# Selecting the layout template
default.user.layout.template.id=3_columns
# A try with default portlets
default.user.layout.column-1=82
default.user.layout.column-2=81
default.user.layout.column-3=80
The next thing I want to realize is, that a user is redirected to his private page after login. Is this possible without writing a hook?
I found a similar thread with this options, which don't wok for me:
## Redirecting to users private page after login
auth.forward.by.last.path=false
auth.forward.by.redirect=false
Can anybody help?
Best regards
P. Schmidt
Amit Doshi, modificado hace 11 años.
RE: Change Default Private User Page for New Users
Liferay Master Mensajes: 550 Fecha de incorporación: 29/12/10 Mensajes recientes
Paul :-
quote]
I want to define the Style of the default private user pages for new users, with a three column layout and six instances of our own portlets with a special configuration.
I tried to modify the portal-ext.properties, restart the portal and create a new user. But with no success. Neither the layout nor the portlets are right.
My entries (Liferay 6.0.6 CE):
# Selecting the layout template
default.user.layout.template.id=3_columns
# A try with default portlets
default.user.layout.column-1=82
default.user.layout.column-2=81
default.user.layout.column-3=80
You can set the private page layout using the below properties in portal-ext.properties.
#
# Set the name of the private layout.
#
default.user.private.layout.name=Welcome
#
# Set the layout template id of the private layout.
#
default.user.private.layout.template.id=2_columns_ii
#
# Set the portlet ids for the columns specified in the layout template.
#
default.user.private.layout.column-1=82,23,11
default.user.private.layout.column-2=29,8
default.user.private.layout.column-3=
default.user.private.layout.column-4=
#
# Set the friendly url of the private layout.
#
default.user.private.layout.friendly.url=/home
And it will work for the newly created user.
Please find the attached image for your second question answer.
Thanks & Regards,
Amit Doshi
quote]
I want to define the Style of the default private user pages for new users, with a three column layout and six instances of our own portlets with a special configuration.
I tried to modify the portal-ext.properties, restart the portal and create a new user. But with no success. Neither the layout nor the portlets are right.
My entries (Liferay 6.0.6 CE):
# Selecting the layout template
default.user.layout.template.id=3_columns
# A try with default portlets
default.user.layout.column-1=82
default.user.layout.column-2=81
default.user.layout.column-3=80
You can set the private page layout using the below properties in portal-ext.properties.
#
# Set the name of the private layout.
#
default.user.private.layout.name=Welcome
#
# Set the layout template id of the private layout.
#
default.user.private.layout.template.id=2_columns_ii
#
# Set the portlet ids for the columns specified in the layout template.
#
default.user.private.layout.column-1=82,23,11
default.user.private.layout.column-2=29,8
default.user.private.layout.column-3=
default.user.private.layout.column-4=
#
# Set the friendly url of the private layout.
#
default.user.private.layout.friendly.url=/home
And it will work for the newly created user.
The next thing I want to realize is, that a user is redirected to his private page after login. Is this possible without writing a hook?
I found a similar thread with this options, which don't wok for me:
## Redirecting to users private page after login
auth.forward.by.last.path=false
auth.forward.by.redirect=false
Please find the attached image for your second question answer.
Thanks & Regards,
Amit Doshi
Archivos adjuntos:
Paul Schmidt, modificado hace 11 años.
RE: Change Default Private User Page for New Users
Junior Member Mensajes: 34 Fecha de incorporación: 28/07/10 Mensajes recientes
Hello Amit,
thanks for your reply. The first problem is solved. We will swap to LR 6.1 and use the lar Ex-/Import.
The 2nd problem seems a little bit more tricky because I want to redirect to /user/${user}/home and not to a static URL.
Do you have a solution for that?
thanks for your reply. The first problem is solved. We will swap to LR 6.1 and use the lar Ex-/Import.
The 2nd problem seems a little bit more tricky because I want to redirect to /user/${user}/home and not to a static URL.
Do you have a solution for that?
Amit Doshi, modificado hace 11 años.
RE: Change Default Private User Page for New Users
Liferay Master Mensajes: 550 Fecha de incorporación: 29/12/10 Mensajes recientes
Then better to create LoginPostAction Hook and Add your code accordingly on the same.
Tejas Kanani, modificado hace 11 años.
RE: Change Default Private User Page for New Users
Liferay Master Mensajes: 654 Fecha de incorporación: 6/01/09 Mensajes recientes
As far as I know you will have to create hook for this. Dynamically land user to their private page is not OOTB supported.
Refer this on how to create custom landing page using hook.
Custom Landing page using hook - Liferay 6.1
Regards,
Tejas
Refer this on how to create custom landing page using hook.
Custom Landing page using hook - Liferay 6.1
Regards,
Tejas