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.

eZ debug

Timing: Jan 30 2025 16:38:07
Script start
Timing: Jan 30 2025 16:38:07
Module start 'layout'
Timing: Jan 30 2025 16:38:07
Module start 'content'
Timing: Jan 30 2025 16:38:07
Module end 'content'
Timing: Jan 30 2025 16:38:07
Script end

Main resources:

Total runtime0.0227 sec
Peak memory usage4,096.0000 KB
Database Queries3

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0051 588.3828151.2422
Module start 'layout' 0.00510.0036 739.6250220.7500
Module start 'content' 0.00870.0125 960.37501,001.8359
Module end 'content' 0.02120.0015 1,962.210933.9922
Script end 0.0227  1,996.2031 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.002611.4470140.0002
Check MTime0.00114.6938140.0001
Mysql Total
Database connection0.00104.516410.0010
Mysqli_queries0.002310.183330.0008
Looping result0.00000.044110.0000
Template Total0.00125.110.0012
Template load0.00094.067210.0009
Template processing0.00020.986610.0002
Override
Cache load0.00073.007110.0007
General
dbfile0.00208.897580.0003
String conversion0.00000.030440.0000
Note: percentages do not add up to 100% because some accumulators overlap

Templates used to render the page:

UsageRequested templateTemplateTemplate loadedEditOverride
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 1
 Number of unique templates used: 1

Time used to render debug report: 0.0001 secs