Author Topic

Bienvenu Isaac Kanyinda

Thursday 23 April 2009 3:52:46 am

Comment51009

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.