Foren
adding new feilds in create_account.jsp
Ramkumar Chandran, geändert vor 11 Jahren.
adding new feilds in create_account.jsp
Junior Member Beiträge: 28 Beitrittsdatum: 15.11.11 Neueste Beiträge
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...????
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, geändert vor 11 Jahren.
RE: adding new feilds in create_account.jsp
Liferay Master Beiträge: 875 Beitrittsdatum: 07.01.11 Neueste Beiträge
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.
Otherwise you need to create hook to satisfy your requirement.
Hitoshi Ozawa, geändert vor 11 Jahren.
RE: adding new feilds in create_account.jsp
Liferay Legend Beiträge: 7942 Beitrittsdatum: 24.03.10 Neueste Beiträge
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, geändert vor 11 Jahren.
RE: adding new feilds in create_account.jsp
Junior Member Beiträge: 28 Beitrittsdatum: 15.11.11 Neueste Beiträge
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...?
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, geändert vor 11 Jahren.
RE: adding new feilds in create_account.jsp (Antwort)
Liferay Master Beiträge: 803 Beitrittsdatum: 10.03.08 Neueste Beiträge
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)
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, geändert vor 11 Jahren.
RE: adding new feilds in create_account.jsp (Antwort)
Liferay Legend Beiträge: 7942 Beitrittsdatum: 24.03.10 Neueste BeiträgeFor 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, geändert vor 11 Jahren.
RE: adding new feilds in create_account.jsp
Junior Member Beiträge: 40 Beitrittsdatum: 02.01.13 Neueste BeiträgeHitoshi 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, geändert vor 11 Jahren.
RE: adding new feilds in create_account.jsp
Liferay Master Beiträge: 875 Beitrittsdatum: 07.01.11 Neueste Beiträgepiyush liferay:
where is CreateAccountAction situated in liferay , so that i can modified...
com.liferay.portlet.login.action.CreateAccountAction.java
Ramkumar Chandran, geändert vor 11 Jahren.
RE: adding new feilds in create_account.jsp
Junior Member Beiträge: 28 Beitrittsdatum: 15.11.11 Neueste BeiträgeHitoshi 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..