Problems with contact form (feedback form)

Author Message

Daniela Moreno

Wednesday 27 October 2004 1:32:44 pm

Im having problems with the contact form. Whenever a new message is sent to the recipient address, the only thing sent is "The following information was collected:" I dont receive any of the information. I have no idea if its a problem with the collectedinfomail template or with the actioncollectinformation action botton, because it wont even validate any of the inputs.
If you can help me, ill be really grateful.
Thanks

Silke Fox

Thursday 28 October 2004 1:16:32 am

It might be helpful to turn on template debugging.

Does this occur on a multi-lingual site? I remember I had something similar when the information collection object existed in another language than the language that was used by the siteaccess...

Concerning validation - is "content/edit_validation.tpl" included in the template?

silke

Daniela Moreno

Thursday 28 October 2004 7:19:09 am

ok, so how do i turn on template debugging? and how can that help me? (as you can see im such a newbie)

yes, its a multi-lingual site, english and spanish, do you think thats related to my problem?

About validation, "content/edit_validation.tp" is not in the template. however, the template does include the following:

{include name=Validation uri='design:content/collectedinfo_validation.tpl'
class='message-warning'
validation=$validation collection_attributes=$collection_attributes}

i do have "content/edit_validation.tp" but its not in the template of the feedback form.
:S

Thanks a bunch silke :)

Silke Fox

Tuesday 02 November 2004 12:42:37 am

Sorry for being so late... hopefully you already figured it out.

To turn on template debugging, add this to your settings/override/site.ini.append(.php) file:

[TemplateSettings]
Debug=enabled

See also http://ez.no/ez_publish/documentation/configuration/configuration/common_settings.
Remember to clear the cache afterwards.

Is the feedback content object translated in both languages?

Daniela Moreno

Thursday 04 November 2004 1:14:12 pm

No problem

But no, i havent figured it out.

ill try what u say, hope it works.

And yes my feedback content object is in both languages.

Thanxs!

Daniela Moreno

Thursday 04 November 2004 1:48:57 pm

ok, so now that i used the translator in both languages it does validates and collects the information and sends it to the email receiver, but now it wont send it to the recipient email.

why is this happening?
does the attriburte "recipient" has to be marked as "disabled translation" and "information collector"?

Silke Fox

Friday 05 November 2004 2:14:26 am

The "email_receiver" attribute should not be marked as information collector.
Only those attributes that your customer should fill in must be marked as "collect information". In this way you can combine them with attributes that are just displayed, like form title, intro etc.
It doesn't matter if translation is disabled or enabled for attribute "email_receiver", as long as its value is filled for both languages.

Hm, you might try to set another email_receiver value in the template, see design\standard\templates\content\collectedinfomail.tpl (or your override template).

{* Use this line to specify the e-mail in the template, can read this from the object to
   make it dynamic pr form
{set-block scope=root variable=email_receiver}nospam@ez.no{/set-block}
*}

You're getting closer... ;)

Daniela Moreno

Friday 05 November 2004 7:55:13 am

ohhh ok, that totally help. i changed the email receiver in the template and now it works! thanxs a lot.

no i have ANOTHER problem. I dont receoive the email address of the person who sent the contact form, i just get the message and the subject. Ive been reading around some stuff about fixing this bug, but none of these works. do u have any idea about this?

anyways, u were such a big help. thank u so so much!

Mazin Mustafa

Wednesday 23 November 2005 12:14:55 pm

Hi Daniela,
I have run into the same issue described in your last posting; i.e. email not showing up. Did you ever get that worked out?

Regards
Mazin

Gurudutt Verma

Thursday 24 November 2005 12:40:16 am

Hi mazin

The solution is given in this discussion itself or also see at
http://ez.no/community/forum/install_configuration/problem_with_contact_us_email_sender

Powered by eZ Publish™ CMS Open Source Web Content Management. Copyright © 1999-2014 eZ Systems AS (except where otherwise noted). All rights reserved.