Author Topic

Koutouan Emmanuel

Friday 30 January 2009 7:22:10 am

Comment48803

hello,

In the class of form add 3 attibutes: receiver[email], sender[email] and subjet[line of text]

In form.tpl (/design/xxx/templates/content/collectedinfomail/form.tpl),
clean all and paste :

{*start*}
{set-block scope=root variable=email_receiver}{$object.data_map.receiver.content}{/set-block}
{set-block scope=root variable=email_sender}{$object.data_map.sender.content}{/set-block}
{set-block scope=root variable=subject}{$object.data_map.subjet.content}{/set-block}
{"The following information was collected"|i18n("design/ezwebin/collectedinfomail/form")}:
{foreach $collection.attributes as $attribute}
<p>
{$attribute.contentclass_attribute_name|wash}:
{attribute_result_gui view=info attribute=$attribute}
</p>
{/foreach}
{*end*}

copy, paste

bye