contact-form problems

Author Message

ole poulsen

Tuesday 25 April 2006 6:45:55 am

What is this supposed to mean - that is the result i get in the source code of the contact form:

<input class="box" type="text" size="70" name="ContentObjectAttribute_ezstring_data_text_3097" value="" / >

???

It is of course the name-attribute that I dont quite get. Normally those attributes in a contact form would be called "realname", "email" and "subject" etc... but here they apparently get some automatically generated value - that DOESNT work... at least not for me at the moment.

My emails get send and received allright. But there is no realname, email or subject information in the relevant places.

What to do?

Bertrand Dunogier

Wednesday 26 April 2006 12:55:23 am

The name represents the attribute content is submitted to.

In your case, it's a <i>ContentObjectAttribute</i>, of datatype <i>ezstring</i>, stored in the <i>data_string</i> area, and of id <i>3097</i>.

That syntax allows the content engine, and more specifically in your case the content collection system, to know what attribute has to handle the submitted data.

Bertrand Dunogier
eZ Systems Engineering, Lyon
http://twitter.com/bdunogier
http://gplus.to/BertrandDunogier

ole poulsen

Wednesday 26 April 2006 6:08:12 am

Thanks for the specifications but it does not make me much wiser (some wiser, but not enough) about why I have this problem.

The form generates no header-information.
I have named the fields "realname", "email" and "subject" when I created the class, and I assumed that would be the name-tag in the code. But it isn't - instead theres this ez-code, which does not read these things as normal email header-information.
Why? And more importantly: how do I fix it?

(and please let me know, of course, if I need to make myself more clear)

ole poulsen

Thursday 27 April 2006 7:24:17 am

I cannot give my bosses a website with a contact form where they get no header-information in their received emails.

I can see that other people have had the same or similar problems - but I havent found any working solutions.

How do I get collected information to be put in the email-header?
That is - how do they get the normal name-tags used on the internet - such as "email" and "subject"?

Please, help me. We need to launch the site quite soon.

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 23:20:16
Script start
Timing: Jan 18 2025 23:20:16
Module start 'layout'
Timing: Jan 18 2025 23:20:16
Module start 'content'
Timing: Jan 18 2025 23:20:18
Module end 'content'
Timing: Jan 18 2025 23:20:18
Script end

Main resources:

Total runtime1.7235 sec
Peak memory usage4,096.0000 KB
Database Queries60

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0063 587.9063152.6250
Module start 'layout' 0.00630.0046 740.531339.4453
Module start 'content' 0.01091.7110 779.9766551.3125
Module end 'content' 1.72190.0016 1,331.289112.4844
Script end 1.7234  1,343.7734 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00490.2832160.0003
Check MTime0.00180.1054160.0001
Mysql Total
Database connection0.00080.048110.0008
Mysqli_queries1.652095.8501600.0275
Looping result0.00130.0779580.0000
Template Total1.662496.520.8312
Template load0.00450.262120.0023
Template processing1.657896.189320.8289
Template load and register function0.00010.007710.0001
states
state_id_array0.00170.100310.0017
state_identifier_array0.00160.093820.0008
Override
Cache load0.00390.2271260.0002
Sytem overhead
Fetch class attribute can translate value0.00090.051220.0004
Fetch class attribute name0.00140.080650.0003
XML
Image XML parsing0.01250.727620.0063
class_abstraction
Instantiating content class attribute0.00000.000650.0000
General
dbfile0.01260.7282160.0008
String conversion0.00000.000640.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
4content/datatype/view/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
7content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
1content/datatype/view/ezxmltags/literal.tpl<No override>extension/community/design/standard/templates/content/datatype/view/ezxmltags/literal.tplEdit templateOverride template
1content/datatype/view/ezimage.tpl<No override>extension/sevenx/design/simple/templates/content/datatype/view/ezimage.tplEdit templateOverride template
2content/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: 7

Time used to render debug report: 0.0001 secs