Foren

Home » Liferay Portal » English » 3. Development

Kombinierte Ansicht Flache Ansicht Baumansicht
Threads [ Zurück | Nächste ]
toggle
Ramkumar Chandran
adding new feilds in create_account.jsp
5. Juli 2012 04:54
Antwort

Ramkumar Chandran

Rang: Junior Member

Nachrichten: 28

Eintrittsdatum: 15. November 2011

Neue 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...????
Jitendra Rajput
RE: adding new feilds in create_account.jsp
13. Juli 2012 11:18
Antwort

Jitendra Rajput

Rang: Liferay Master

Nachrichten: 858

Eintrittsdatum: 7. Januar 2011

Neue 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.
Hitoshi Ozawa
RE: adding new feilds in create_account.jsp
14. Juli 2012 22:09
Antwort

Hitoshi Ozawa

Rang: Liferay Legend

Nachrichten: 7949

Eintrittsdatum: 23. März 2010

Neue 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
RE: adding new feilds in create_account.jsp
15. Juli 2012 21:07
Antwort

Ramkumar Chandran

Rang: Junior Member

Nachrichten: 28

Eintrittsdatum: 15. November 2011

Neue 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...?
Jignesh Vachhani
RE: adding new feilds in create_account.jsp
16. Juli 2012 00:52
Antwort

Jignesh Vachhani

Rang: Liferay Master

Nachrichten: 782

Eintrittsdatum: 10. März 2008

Neue 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)
Hitoshi Ozawa
RE: adding new feilds in create_account.jsp
16. Juli 2012 03:46
Antwort

Hitoshi Ozawa

Rang: Liferay Legend

Nachrichten: 7949

Eintrittsdatum: 23. März 2010

Neue Beiträge

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
29. Januar 2013 10:17
Antwort

piyush liferay

Rang: Junior Member

Nachrichten: 40

Eintrittsdatum: 1. Januar 2013

Neue Beiträge

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
29. Januar 2013 21:46
Antwort

Jitendra Rajput

Rang: Liferay Master

Nachrichten: 858

Eintrittsdatum: 7. Januar 2011

Neue Beiträge

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
5. Februar 2013 03:58
Antwort

Ramkumar Chandran

Rang: Junior Member

Nachrichten: 28

Eintrittsdatum: 15. November 2011

Neue Beiträge

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..