Foros de discusión

Customize Registration Page in Liferay 6

Rohit Chaudhari, modificado hace 12 años.

Customize Registration Page in Liferay 6

Junior Member Mensajes: 29 Fecha de incorporación: 8/09/11 Mensajes recientes
Hello,

I want to customize the registration page in liferay 6. (Need to add/remove few fields ,provide custom validations etc.)

Is there any way to achieve this without much modification ?
or
Do I need to create a new Ext plugin or a hook to achieve this? (How to do this ?)

Please provide me the link, If this message is already published in some other thread,

Thanks,
Rohit
thumbnail
srikanth a, modificado hace 12 años.

RE: Customize Registration Page in Liferay 6

Regular Member Mensajes: 144 Fecha de incorporación: 21/02/11 Mensajes recientes
Hi Rohit,
Did you mean User registration? If so, you can add more fields using the custom fields provided by Liferay.
There is a link called "custom fields" in control panel. There you can select the option you want.


regards
sri
thumbnail
Ravi Kumar Gupta, modificado hace 12 años.

RE: Customize Registration Page in Liferay 6

Liferay Legend Mensajes: 1302 Fecha de incorporación: 24/06/09 Mensajes recientes
To add more fields use Custom Attributes for user. To show those fields in view change create-account.jsp in ROOT/html/portlet/login directory, using a jsp-hook

HTH
Rohit Chaudhari, modificado hace 12 años.

RE: Customize Registration Page in Liferay 6

Junior Member Mensajes: 29 Fecha de incorporación: 8/09/11 Mensajes recientes
Hi All,

Thank you for your valuable response.

But I think I need to overrider UserLocalSeriveImpl to disable the liferay's field validation (We will use our own).

What are the steps required to override the UserLocalSeriveImpl in ext (Liferay 6).

Thanks,
Hardik
thumbnail
Ravi Kumar Gupta, modificado hace 12 años.

RE: Customize Registration Page in Liferay 6

Liferay Legend Mensajes: 1302 Fecha de incorporación: 24/06/09 Mensajes recientes
Mykola M, modificado hace 12 años.

RE: Customize Registration Page in Liferay 6

New Member Mensajes: 4 Fecha de incorporación: 20/01/11 Mensajes recientes
To show those fields in view change create-account.jsp in ROOT/html/portlet/login directory, using a jsp-hook

Showing them is not enough, they also have to be stored when form is submitted - any idea how can this be achieved with JSP hook?
Is there a special way to use aui:input to make it store values into User's expando?
Beppo Ivel, modificado hace 9 años.

RE: Customize Registration Page in Liferay 6

Regular Member Mensajes: 112 Fecha de incorporación: 9/04/14 Mensajes recientes
I have the same problem but Iam using liferay 6.2. So I cant find the create_account.jsp and I dont know which service I have to override?
thumbnail
Zsigmond Rab, modificado hace 9 años.

RE: Customize Registration Page in Liferay 6

Liferay Master Mensajes: 728 Fecha de incorporación: 5/01/10 Mensajes recientes
Hi Mikola, Beppo,

what the other guys wrote is right. You need to do the followings:

- create the custom fields to the User object,
- modify the service with a service hook,
- modify the jsp to show the custom fields

Hope it helps.

Regards,
Zsigmond