Wednesday 03 March 2010 7:52:56 pm
Sharing this template for a feedback form. Places the subject name in the subject, message text in the message, and assigns the sender value. Allows people to click 'Reply' to respond directly.
{set-block scope=root variable=$email_receiver}{$object.data_map.recipient.content}{/set-block}
{foreach $collection.attributes as $a}
{switch match=$a.contentclass_attribute_name}
{case match='Subject'}
{set-block scope=root variable=$subject}[Website] {$a.content|wash}{/set-block}
{/case}
{case match='Message'}
{attribute_result_gui view=info attribute=$a}
{/case}
{case match='Email'}
{set-block scope=root variable=$email_sender}{$a.content|wash}{/set-block}
{/case}
{/switch}
{/foreach}
|