This site has been archived and you can no longer log in or post new messages. For up-to-date community resources please visit

eZ Community » Forums » Setup & design » content/collectedinfomail/feedback_fo...



Thursday 04 March 2010 4:52:56 am - 1 reply

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 match='Message'}
{attribute_result_gui view=info attribute=$a}
{case match='Email'}
{set-block scope=root variable=$email_sender}{$a.content|wash}{/set-block}

Modified on Thursday 04 March 2010 9:26:15 pm by Betsy Gamrat

Thursday 04 March 2010 9:18:52 pm

Thanks for sharing this code snippet Betsy happy.gif Emoticon

Regards, Robin


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

36 542 Users on board!

Forums menu

Proudly Developed with from