Forums de discussion

Customize Registration Page in Liferay 6

Rohit Chaudhari, modifié il y a 12 années.

Customize Registration Page in Liferay 6

Junior Member Publications: 29 Date d'inscription: 08/09/11 Publications récentes
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, modifié il y a 12 années.

RE: Customize Registration Page in Liferay 6

Regular Member Publications: 144 Date d'inscription: 21/02/11 Publications récentes
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, modifié il y a 12 années.

RE: Customize Registration Page in Liferay 6

Liferay Legend Publications: 1302 Date d'inscription: 24/06/09 Publications récentes
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, modifié il y a 12 années.

RE: Customize Registration Page in Liferay 6

Junior Member Publications: 29 Date d'inscription: 08/09/11 Publications récentes
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, modifié il y a 12 années.

RE: Customize Registration Page in Liferay 6

Liferay Legend Publications: 1302 Date d'inscription: 24/06/09 Publications récentes
Mykola M, modifié il y a 12 années.

RE: Customize Registration Page in Liferay 6

New Member Publications: 4 Date d'inscription: 20/01/11 Publications récentes
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, modifié il y a 9 années.

RE: Customize Registration Page in Liferay 6

Regular Member Publications: 112 Date d'inscription: 09/04/14 Publications récentes
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, modifié il y a 9 années.

RE: Customize Registration Page in Liferay 6

Liferay Master Publications: 728 Date d'inscription: 05/01/10 Publications récentes
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