feedback-form contact

feedback-form contact

Monday 20 April 2009 2:24:24 am - 2 replies

Modified on Monday 20 April 2009 2:24:30 am by Bienvenu Isaac Kanyinda

Author Message

Gert

Wednesday 22 April 2009 10:53:52 am

Hi,

make sure you have your collect.ini.append.php settings right and have included
a template in

design/templates/content/collectedinfomail

with your form's name as a filename.

Regards,

Gert

canguro web solutions
consulting & development
http://www.canguro.at

Bienvenu Isaac Kanyinda

Thursday 23 April 2009 3:52:46 am

Gert


I used the class feedback_form ez. The name of my class is feedback_form and type feedback_form. The object that I created is Contact.
It's my collect.ini

[InfoSettings]
TypeList[feedback_form]=feedback_form

[EmailSettings]
SendEmailList[feedback_form]=enabled

[DisplaySettings] 
DisplayList[feedback_form]=result

[CollectionSettings]
CollectionUserDataList[feedback_form]=multiple

And the template of contact form

{include name=Validation uri='design:content/collectedinfo_validation.tpl' class='message-warning'
                 validation=$validation collection_attributes=$collection_attributes}
                 
<div>
    <div class="long" style="padding-left:25px;">{$node.object.name}</div>
<br/><br/>
<div class="aide">      
<p>
Pour toute question, n'h&eacute;sitez pas &agrave; utiliser ce formulaire pour nous &eacute;crire. 
</p>
</div>
<div class="aide">
               	<form method="post" action={"/content/action"|ezurl}>
        <p class="help" ><br/></p>
        <p><br/>        
            {$node.data_map.email.contentclass_attribute.name}&ensp;(*)<br/>
            {attribute_view_gui attribute=$node.object.data_map.email}       
            </p>
        <p>                         
             {$node.data_map.subject.contentclass_attribute.name}&ensp;(*)<br/>
             {attribute_view_gui attribute=$node.object.data_map.subject} 
             </p>
        <p>       
            {$node.data_map.message.contentclass_attribute.name}&ensp;(*)<br/>
            {attribute_view_gui attribute=$node.object.data_map.message}       
        </p>
        <p>
         <br/>
        (*) Obligatoire
        <br/>
        </p>
        <p>
          <br/>
            <input type="hidden" name="ContentNodeID" value="{$node.node_id}" />
            <input type="hidden" name="ContentObjectID" value="{$node.object.id}" />
            <input type="hidden" name="ViewMode" value="full" />
            <input type="submit" class="button" name="ActionCollectInformation" value="{"Envoyer"|i18n("design/ezwebin/full/feedback_form")}"/>
        </p>
        </form>
</div>
</div>


A major step is the mail goes in the back office but the problem remains in the email address of the webmaster email comes as no content flag with no objections.

Thank you for your help

Petit poisson deviendra grand pourvu que Dieu lui prĂȘte vie.
Petit oiseau volera un jour de ses propres ailes pourvu que Dieu lui ajoute le nombre de jours sur terre.

You must be logged in to post messages in this topic!

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