HOWTO: 'User has forgotten his pwd for the login'-mail

Author Message

Dominik Pich

Monday 12 January 2004 6:35:22 am

I want to add a 'User has forgotten the pwd' button to the login page.. is this already done somewhere? ( No need to reinvent the wheel, is there? :))

Eirik Alfstad Johansen

Monday 12 January 2004 6:44:46 am

Hi Dominik,

This can be accomplished using the forgotpassword view of the user module (yoursite.com/user/forgotpassword). Remember to give anonymous users access to this view as, for some strange reason, this isn't set by default.

Sincerely,

Eirik Johansen

Sincerely,

Eirik Alfstad Johansen
http://www.netmaking.no/

Dominik Pich

Monday 12 January 2004 8:10:42 am

Works great but...
I dont seem to be able to override the template.

I copied the tpl file from standard to my design and modified it but no effect.

Claus Jensen

Tuesday 13 January 2004 12:20:56 am

Hi,
Are you using the 3.3.1 version? In that case there is a new setting you must remember to set. I have just realized this myself. Check here:
http://ez.no/developer/ez_publish_3/forum/developer/template_override_cache

Else it could be you forgot to clear the cache?

Cheers,
claÜs

Dominik Pich

Tuesday 13 January 2004 4:20:18 am

It was the cache again :)

Thanks all!

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 18 2025 22:37:05
Script start
Timing: Jan 18 2025 22:37:05
Module start 'layout'
Timing: Jan 18 2025 22:37:05
Module start 'content'
Timing: Jan 18 2025 22:37:06
Module end 'content'
Timing: Jan 18 2025 22:37:06
Script end

Main resources:

Total runtime0.8504 sec
Peak memory usage4,096.0000 KB
Database Queries65

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0077 590.2266152.6406
Module start 'layout' 0.00770.0029 742.867239.4766
Module start 'content' 0.01060.8385 782.3438581.9219
Module end 'content' 0.84900.0013 1,364.265612.4375
Script end 0.8504  1,376.7031 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00350.4101160.0002
Check MTime0.00150.1809160.0001
Mysql Total
Database connection0.00150.175910.0015
Mysqli_queries0.794793.4542650.0122
Looping result0.00070.0775630.0000
Template Total0.813495.620.4067
Template load0.00240.277020.0012
Template processing0.811095.364620.4055
Template load and register function0.00020.028210.0002
states
state_id_array0.00170.204510.0017
state_identifier_array0.00120.136320.0006
Override
Cache load0.00200.2354240.0001
Sytem overhead
Fetch class attribute can translate value0.00070.082630.0002
Fetch class attribute name0.00170.198860.0003
XML
Image XML parsing0.00080.091030.0003
class_abstraction
Instantiating content class attribute0.00000.001960.0000
General
dbfile0.00080.0918160.0000
String conversion0.00000.001240.0000
Note: percentages do not add up to 100% because some accumulators overlap

Templates used to render the page:

UsageRequested templateTemplateTemplate loadedEditOverride
1node/view/full.tplfull/forum_topic.tplextension/sevenx/design/simple/override/templates/full/forum_topic.tplEdit templateOverride template
5content/datatype/view/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
6content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
1content/datatype/view/ezimage.tpl<No override>extension/sevenx/design/simple/templates/content/datatype/view/ezimage.tplEdit templateOverride template
3content/datatype/view/ezxmltags/line.tpl<No override>design/standard/templates/content/datatype/view/ezxmltags/line.tplEdit templateOverride template
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 17
 Number of unique templates used: 6

Time used to render debug report: 0.0001 secs