论坛

主页 » Liferay Portal » English » 3. Development

组合视图 统一视图 树状图
讨论主题 [ 上一个 | 下一个 ]
toggle
Ramkumar Chandran
adding new feilds in create_account.jsp
2012年7月5日 上午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年7月13日 上午11:18
答复

Jitendra Rajput

等级: Liferay Master

帖子: 873

加入日期: 2011年1月7日

最近的帖子

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年7月14日 下午10:09
答复

Hitoshi Ozawa

等级: Liferay Legend

帖子: 7949

加入日期: 2010年3月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年7月15日 下午9: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年7月16日 上午12:52
答复

Jignesh Vachhani

等级: Liferay Master

帖子: 794

加入日期: 2008年3月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年7月16日 上午3:46
答复

Hitoshi Ozawa

等级: Liferay Legend

帖子: 7949

加入日期: 2010年3月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年1月29日 上午10:17
答复

piyush liferay

等级: Junior Member

帖子: 40

加入日期: 2013年1月1日

最近的帖子

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年1月29日 下午9:46
答复

Jitendra Rajput

等级: Liferay Master

帖子: 873

加入日期: 2011年1月7日

最近的帖子

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年2月5日 上午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..