Fórum

Customize Registration Page in Liferay 6

Rohit Chaudhari, modificado 12 Anos atrás.

Customize Registration Page in Liferay 6

Junior Member Postagens: 29 Data de Entrada: 08/09/11 Postagens Recentes
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 12 Anos atrás.

RE: Customize Registration Page in Liferay 6

Regular Member Postagens: 144 Data de Entrada: 21/02/11 Postagens Recentes
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 12 Anos atrás.

RE: Customize Registration Page in Liferay 6

Liferay Legend Postagens: 1302 Data de Entrada: 24/06/09 Postagens Recentes
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 12 Anos atrás.

RE: Customize Registration Page in Liferay 6

Junior Member Postagens: 29 Data de Entrada: 08/09/11 Postagens Recentes
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 12 Anos atrás.

RE: Customize Registration Page in Liferay 6

Liferay Legend Postagens: 1302 Data de Entrada: 24/06/09 Postagens Recentes
Mykola M, modificado 12 Anos atrás.

RE: Customize Registration Page in Liferay 6

New Member Postagens: 4 Data de Entrada: 20/01/11 Postagens Recentes
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 9 Anos atrás.

RE: Customize Registration Page in Liferay 6

Regular Member Postagens: 112 Data de Entrada: 09/04/14 Postagens Recentes
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 9 Anos atrás.

RE: Customize Registration Page in Liferay 6

Liferay Master Postagens: 728 Data de Entrada: 05/01/10 Postagens Recentes
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