フォーラム

ホーム » Liferay Portal » English » 3. Development

構造的に表示 平面上に表示 ツリー上に表示
スレッド [ 前へ | 次へ ]
toggle
Ramkumar Chandran
adding new feilds in create_account.jsp
2012/07/05 4:54
答え

Ramkumar Chandran

ランク: Junior Member

投稿: 28

参加年月日: 2011/11/15

最近の投稿

Hi,

can anyone suggest me an idea for adding the address in the create_account.jsp like the address tab in the user profile page...????
Jitendra Rajput
RE: adding new feilds in create_account.jsp
2012/07/13 11:18
答え

Jitendra Rajput

ランク: Liferay Master

投稿: 858

参加年月日: 2011/01/07

最近の投稿

If you just want to add few fields without any code customization then you can try with Custom Fields.
Otherwise you need to create hook to satisfy your requirement.
Hitoshi Ozawa
RE: adding new feilds in create_account.jsp
2012/07/14 22:09
答え

Hitoshi Ozawa

ランク: Liferay Legend

投稿: 7949

参加年月日: 2010/03/23

最近の投稿

Do you want users to enter address when applying for an account? As you can see from the adding new user, liferay's address require user to first to have an account.
Ramkumar Chandran
RE: adding new feilds in create_account.jsp
2012/07/15 21:07
答え

Ramkumar Chandran

ランク: Junior Member

投稿: 28

参加年月日: 2011/11/15

最近の投稿

Yes Mr.Hitoshi Ozawa.
But i want to get the address while user getting register.
this is my project requirement.
is there any way to get the address...?
Jignesh Vachhani
RE: adding new feilds in create_account.jsp
2012/07/16 0:52
答え

Jignesh Vachhani

ランク: Liferay Master

投稿: 785

参加年月日: 2008/03/10

最近の投稿

You can definitely add address field during registration.
For that you can write ext plugin and override CreateAccountAction class (addUser method) and you can store address information in address table separately using AddressLocalServiceUtil class (addAddress method)
Hitoshi Ozawa
RE: adding new feilds in create_account.jsp
2012/07/16 3:46
答え

Hitoshi Ozawa

ランク: Liferay Legend

投稿: 7949

参加年月日: 2010/03/23

最近の投稿

For that you can write ext plugin and override CreateAccountAction class (addUser method) and you can store address information in address table separately using AddressLocalServiceUtil class (addAddress method)


If you override, you'll have to change all the jsp using CreateAccountAction class.
piyush liferay
RE: adding new feilds in create_account.jsp
2013/01/29 10:17
答え

piyush liferay

ランク: Junior Member

投稿: 40

参加年月日: 2013/01/01

最近の投稿

Hitoshi Ozawa:
For that you can write ext plugin and override CreateAccountAction class (addUser method) and you can store address information in address table separately using AddressLocalServiceUtil class (addAddress method)


If you override, you'll have to change all the jsp using CreateAccountAction class.



where is CreateAccountAction situated in liferay , so that i can modified...
Jitendra Rajput
RE: adding new feilds in create_account.jsp
2013/01/29 21:46
答え

Jitendra Rajput

ランク: Liferay Master

投稿: 858

参加年月日: 2011/01/07

最近の投稿

piyush liferay:

where is CreateAccountAction situated in liferay , so that i can modified...


com.liferay.portlet.login.action.CreateAccountAction.java
Ramkumar Chandran
RE: adding new feilds in create_account.jsp
2013/02/05 3:58
答え

Ramkumar Chandran

ランク: Junior Member

投稿: 28

参加年月日: 2011/11/15

最近の投稿

Hitoshi Ozawa:
For that you can write ext plugin and override CreateAccountAction class (addUser method) and you can store address information in address table separately using AddressLocalServiceUtil class (addAddress method)


If you override, you'll have to change all the jsp using CreateAccountAction class.



Is it possible to add extra columns in table using service builders in ext plugin.?
I tried to create a normal table example entity foo with namespace. The service is build successfully but the table is not creating in the databsse..