Fórumok

adding new feilds in create_account.jsp

thumbnail
Ramkumar Chandran, módosítva 11 év-val korábban

adding new feilds in create_account.jsp

Junior Member Bejegyzések: 28 Csatlakozás dátuma: 2011.11.15. Legújabb bejegyzések
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...????
thumbnail
Jitendra Rajput, módosítva 11 év-val korábban

RE: adding new feilds in create_account.jsp

Liferay Master Bejegyzések: 875 Csatlakozás dátuma: 2011.01.07. Legújabb bejegyzések
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.
thumbnail
Hitoshi Ozawa, módosítva 11 év-val korábban

RE: adding new feilds in create_account.jsp

Liferay Legend Bejegyzések: 7942 Csatlakozás dátuma: 2010.03.24. Legújabb bejegyzések
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.
thumbnail
Ramkumar Chandran, módosítva 11 év-val korábban

RE: adding new feilds in create_account.jsp

Junior Member Bejegyzések: 28 Csatlakozás dátuma: 2011.11.15. Legújabb bejegyzések
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...?
thumbnail
Jignesh Vachhani, módosítva 11 év-val korábban

RE: adding new feilds in create_account.jsp (Válasz)

Liferay Master Bejegyzések: 803 Csatlakozás dátuma: 2008.03.10. Legújabb bejegyzések
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)
thumbnail
Hitoshi Ozawa, módosítva 11 év-val korábban

RE: adding new feilds in create_account.jsp (Válasz)

Liferay Legend Bejegyzések: 7942 Csatlakozás dátuma: 2010.03.24. Legújabb bejegyzések
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, módosítva 11 év-val korábban

RE: adding new feilds in create_account.jsp

Junior Member Bejegyzések: 40 Csatlakozás dátuma: 2013.01.02. Legújabb bejegyzések
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...
thumbnail
Jitendra Rajput, módosítva 11 év-val korábban

RE: adding new feilds in create_account.jsp

Liferay Master Bejegyzések: 875 Csatlakozás dátuma: 2011.01.07. Legújabb bejegyzések
piyush liferay:

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


com.liferay.portlet.login.action.CreateAccountAction.java
thumbnail
Ramkumar Chandran, módosítva 11 év-val korábban

RE: adding new feilds in create_account.jsp

Junior Member Bejegyzések: 28 Csatlakozás dátuma: 2011.11.15. Legújabb bejegyzések
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..