Email entry missing from Collected Information

Author Message

Mazin Mustafa

Friday 18 November 2005 8:02:28 am

I am using verion 3.4 stable and the built in Contact Us Form. The form works but the collected information for the email field is missing.
I searched the bugs and found a note about copying the eztext.tpl to ezemail.tpl which I did but the problem is still there.

Is there another known solution to this issue?

thanks

Nathan Kelly

Sunday 20 November 2005 3:49:30 pm

Hi Mazin, can you show us the template you are using? It might help someone identify the problem!

Cheers!

Pardon me while I burst into flames...

Mazin Mustafa

Monday 21 November 2005 8:08:55 am

Hi,
I am using the template and form that came with the release.

The feedback form is of class: Feedback form
The template that is assigned to the class is: design/corporate/override/templates/collectedinfomail/feedback_form.tpl
The template content is:
{set-block scope=root variable=subject}{"Collected information from %1"|i18n("design/standard/content/edit",,array($collection.object.name))}{/set-block}

{set-block scope=root variable=email_receiver}{$object.data_map.recipient.content}{/set-block}

{* Set this to redirect to another node
{set-block scope=root variable=redirect_to_node_id}2{/set-block}
*}

{"The following information was collected:"|i18n("design/standard/content/edit")}

{section name=Attribute loop=$collection.attributes}
{$Attribute:item.contentclass_attribute_name}:
{$Attribute:item.data_text|wash}

Once the form is submitted, the email field is empty and the generated email also has the email field content missing.

Regards
{/section}

Nathan Kelly

Monday 21 November 2005 3:32:29 pm

Hi Mazin, check to see if the email has been collected, go to the admin interface and navigate to "setup -> collected information".

<i>[EDIT] Changed "settings" to "setup", my bad</i>

In the table you should see under "name" the name of your form, at the end of the row there should be a number under "collections", click on the number and you should see a list of collections (depending on how many times you used the form).

<i>If there are no collections listed, go back to your feedback form, fill it out and submit it, then go back to collected info and it should be there.</i>

If you click on one of these collection id numbers the collected information from your form should be displayed, check to see if the email address has been collected, if not there could be a problem with the feedback form.

Cheers!

Pardon me while I burst into flames...

Mazin Mustafa

Wednesday 23 November 2005 11:59:18 am

This is a very good tip since I didn't know where to look. However, I'm running into another issue; when I follow the directions, the settings links takes me to the Common ini settings. I haven't figured a way to get around that.

I will scan the forum for any info regarding that issue.

Thanks

Nathan Kelly

Wednesday 23 November 2005 3:32:50 pm

Ohh, sorry Mazin that's my mistake, "settings" should in fact be "setup"!

So go to the setup tab in admin and from there go to collected information.

Sorry about that, there's so many paths and files to remember they all become a little blurry.

Cheers!

Pardon me while I burst into flames...

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 19 2025 01:15:24
Script start
Timing: Jan 19 2025 01:15:24
Module start 'layout'
Timing: Jan 19 2025 01:15:24
Module start 'content'
Timing: Jan 19 2025 01:15:25
Module end 'content'
Timing: Jan 19 2025 01:15:25
Script end

Main resources:

Total runtime0.6292 sec
Peak memory usage4,096.0000 KB
Database Queries66

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0059 590.3984152.6406
Module start 'layout' 0.00600.0038 743.039139.4766
Module start 'content' 0.00970.6182 782.5156571.6094
Module end 'content' 0.62800.0012 1,354.125016.1250
Script end 0.6292  1,370.2500 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00330.5235160.0002
Check MTime0.00130.2028160.0001
Mysql Total
Database connection0.00090.141910.0009
Mysqli_queries0.567790.2261660.0086
Looping result0.00060.1003640.0000
Template Total0.598395.120.2991
Template load0.00190.299420.0009
Template processing0.596494.784120.2982
Template load and register function0.00020.025310.0002
states
state_id_array0.00070.114210.0007
state_identifier_array0.00090.147720.0005
Override
Cache load0.00160.2615470.0000
Sytem overhead
Fetch class attribute can translate value0.00070.109520.0003
Fetch class attribute name0.00140.218970.0002
XML
Image XML parsing0.00080.131920.0004
class_abstraction
Instantiating content class attribute0.00000.003790.0000
General
dbfile0.00140.2200160.0001
String conversion0.00000.001540.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
6content/datatype/view/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
6content/datatype/view/ezxmltags/line.tpl<No override>design/standard/templates/content/datatype/view/ezxmltags/line.tplEdit templateOverride template
10content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
3content/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: 27
 Number of unique templates used: 6

Time used to render debug report: 0.0001 secs