Template for user registered email?

Author Message

Hilary Boyce

Saturday 02 February 2008 10:06:09 am

I have added some new fields to the user profile and want to be able to include them in the email sent to the administrator when the new user registers but I cannot find the template used for this email. I have looked at the user templates and the collectedinfomail ones but none seem to be the right one.

Please can someone tell me which one it is?

Ɓukasz Serwatka

Saturday 02 February 2008 11:00:24 am

Hi,

It is design\standard\templates\user\registrationfeedback.tpl

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

Hilary Boyce

Tuesday 05 February 2008 8:06:11 am

Hi

Thank you Lukasz for pointing me to the correct template. I have created an override template from it and added my 3 fields. It looks like I haven't done it right, or perhaps there is another stage I don't know about. I have copied the format of the user name and email address but used my fieldnames eg.

for email: {'Email'|i18n('design/standard/user/register')}: {$user.email}

so I have {'Weekly Updates'|i18n('design/standard/user/register')}: {$user.weekly_updates}

The prompts are appearing on the registration email but nothing to indicate the checkbox was ticked. What do I have to do to get something to display to show whether the checkbox has been ticked?

Many thanks.

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 19:33:56
Script start
Timing: Jan 18 2025 19:33:56
Module start 'layout'
Timing: Jan 18 2025 19:33:56
Module start 'content'
Timing: Jan 18 2025 19:33:58
Module end 'content'
Timing: Jan 18 2025 19:33:58
Script end

Main resources:

Total runtime1.2885 sec
Peak memory usage4,096.0000 KB
Database Queries57

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0044 588.0156152.6250
Module start 'layout' 0.00440.0022 740.640639.4453
Module start 'content' 0.00661.2802 780.0859533.0547
Module end 'content' 1.28680.0017 1,313.140612.3125
Script end 1.2885  1,325.4531 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00330.2533160.0002
Check MTime0.00120.0966160.0001
Mysql Total
Database connection0.00060.043910.0006
Mysqli_queries1.241796.3676570.0218
Looping result0.00070.0517550.0000
Template Total1.255097.420.6275
Template load0.00270.206520.0013
Template processing1.252397.188520.6262
Template load and register function0.00030.020310.0003
states
state_id_array0.00090.072310.0009
state_identifier_array0.00250.190920.0012
Override
Cache load0.00210.1637160.0001
Sytem overhead
Fetch class attribute can translate value0.00090.067920.0004
Fetch class attribute name0.00120.092140.0003
XML
Image XML parsing0.00060.048420.0003
class_abstraction
Instantiating content class attribute0.00000.000840.0000
General
dbfile0.00100.0758180.0001
String conversion0.00000.000440.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
3content/datatype/view/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
3content/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
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 9
 Number of unique templates used: 5

Time used to render debug report: 0.0001 secs