留言板

Customize Registration Page in Liferay 6

Rohit Chaudhari,修改在12 年前。

Customize Registration Page in Liferay 6

Junior Member 帖子: 29 加入日期: 11-9-8 最近的帖子
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,修改在12 年前。

RE: Customize Registration Page in Liferay 6

Regular Member 帖子: 144 加入日期: 11-2-21 最近的帖子
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,修改在12 年前。

RE: Customize Registration Page in Liferay 6

Liferay Legend 帖子: 1302 加入日期: 09-6-24 最近的帖子
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,修改在12 年前。

RE: Customize Registration Page in Liferay 6

Junior Member 帖子: 29 加入日期: 11-9-8 最近的帖子
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,修改在12 年前。

RE: Customize Registration Page in Liferay 6

Liferay Legend 帖子: 1302 加入日期: 09-6-24 最近的帖子
Mykola M,修改在12 年前。

RE: Customize Registration Page in Liferay 6

New Member 帖子: 4 加入日期: 11-1-20 最近的帖子
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,修改在9 年前。

RE: Customize Registration Page in Liferay 6

Regular Member 帖子: 112 加入日期: 14-4-9 最近的帖子
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,修改在9 年前。

RE: Customize Registration Page in Liferay 6

Liferay Master 帖子: 728 加入日期: 10-1-5 最近的帖子
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