[SOLVED]Replace the username field of user/login

Author Message

justin kazadi

Monday 30 March 2009 10:46:21 am

Hi,
i want to know how can i replace the username field of the user/login by the email in the login template.

thanks in advance.

The theory is when we know everything and nothing works.
The practice is when everything works and nobody knows why.
If the practice and theory are met, nothing works and we do not know why.

Albert Einstein

justin kazadi

Tuesday 31 March 2009 2:03:36 am

Hi,
can somebody help me ?
any suggestion ?
thanks in advance.

The theory is when we know everything and nothing works.
The practice is when everything works and nobody knows why.
If the practice and theory are met, nothing works and we do not know why.

Albert Einstein

André R.

Tuesday 31 March 2009 2:20:38 am

You don't need to change anything other then the label of your html, eZ Publish should let you login with email as well as login name by default.

eZ Online Editor 5: http://projects.ez.no/ezoe || eZJSCore (Ajax): http://projects.ez.no/ezjscore || eZ Publish EE http://ez.no/eZPublish/eZ-Publish-Enterprise-Subscription
@: http://twitter.com/andrerom

justin kazadi

Tuesday 31 March 2009 2:38:44 am

Hi,
it works!

thanks very much André R.

The theory is when we know everything and nothing works.
The practice is when everything works and nobody knows why.
If the practice and theory are met, nothing works and we do not know why.

Albert Einstein

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 20 2025 02:22:49
Script start
Timing: Jan 20 2025 02:22:49
Module start 'layout'
Timing: Jan 20 2025 02:22:49
Module start 'content'
Timing: Jan 20 2025 02:22:49
Module end 'content'
Timing: Jan 20 2025 02:22:49
Script end

Main resources:

Total runtime0.0146 sec
Peak memory usage2,048.0000 KB
Database Queries3

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0050 589.2891152.6406
Module start 'layout' 0.00500.0032 741.929739.4766
Module start 'content' 0.00820.0044 781.406393.3672
Module end 'content' 0.01260.0019 874.773434.3047
Script end 0.0145  909.0781 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.002517.1792140.0002
Check MTime0.00128.4208140.0001
Mysql Total
Database connection0.00075.057410.0007
Mysqli_queries0.002315.886630.0008
Looping result0.00000.172010.0000
Template Total0.001610.710.0016
Template load0.00085.793010.0008
Template processing0.00074.913310.0007
Override
Cache load0.00064.067910.0006
General
dbfile0.00042.950680.0001
String conversion0.00000.068840.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