Changing the default warning messages for user registration

Author Message

Hakim Bouras

Monday 24 April 2006 9:02:58 am

I would like to change the default warning message displayed during user registration if the user does not fill both password fields.

The current warning message is: "User account: The passwords do not match"

Does anyone know where this validation message is generated ?

Thanx,
Hakim

Per-Espen Kindblad

Monday 24 April 2006 9:25:23 am

Maybe design/admin/templates/user/login.tpl?

Hakim Bouras

Monday 24 April 2006 9:31:37 am

>>Maybe design/admin/templates/user/login.tpl?

The problem occurs during the registration process on a dedicated site (not the admin site - which is not included in the additional designs).

Ɓukasz Serwatka

Monday 24 April 2006 11:27:12 pm

The validation message output comes from the template design/standard/templates/content/edit_validation.tpl Use override mechanism to override this file.

The original message is set in kernel/classes/datatypes/ezuser/ezusertype.php

Personal website -> http://serwatka.net
Blog (about eZ Publish) -> http://serwatka.net/blog

Powered by eZ Publish™ CMS Open Source Web Content Management. Copyright © 1999-2014 eZ Systems AS (except where otherwise noted). All rights reserved.