Foren

customizing inscription form

Brahim TARNAOUI, geändert vor 13 Jahren.

customizing inscription form

Junior Member Beiträge: 64 Beitrittsdatum: 15.06.10 Neueste Beiträge
hello every body,

i will customizing the inscription form by just putting the email field and password field, how can'i do this using the ext plugin (i'm using liferay version 6)

thx4all
thumbnail
jelmer kuperus, geändert vor 13 Jahren.

RE: customizing inscription form

Liferay Legend Beiträge: 1191 Beitrittsdatum: 10.03.10 Neueste Beiträge
Adding these props to portal-ext.properies will get you most of the way there

users.screen.name.always.autogenerate=true
login.create.account.allow.custom.password=true
field.enable.com.liferay.portal.model.Contact.birthday=false
field.enable.com.liferay.portal.model.Contact.male=false
captcha.check.portal.create_account=false
company.security.auth.type=emailAddress


To get rid of firstname, middelname and last name you will probably have to create a jsp hook and overload html/portlet/login/create_account.jsp.

You will probably have to replace the text fields for firstName, middleName and lastName with hidden form fields because it seems they are validated not to be null