Forums / Setup & design / Form Collection Help
Douglas Johnson
Thursday 09 October 2003 2:07:41 pm
Since all of the online documentation is no longer available (thanks ezpublish!!!!) I am going to have to ask my poor ez publish compatriots for help. I need a good form collection tutorial. I can send the form data in an email but how do I display the subject and body in the email? I can only display the node name and subject? Thanks in advance. PS. Does anyone know why the documentation is no longer available? I wouldn't have purchased this thing with NO online support.
Thomas Schamm
Thursday 09 October 2003 3:57:50 pm
Hi Douglas,
don't panic, most of the doc you can find cut into pieces in developer section. To get the doc back, perhaps try to reinstall version 3.1 on a local system, there the sdk still exist. Another possibilty: there exists a version of the sdk as a pdf file (see http://ez.no/developer/ez_publish_3/contributions/compiled_pdf_manual_from_httpwwweznosdk ). To get to your question: Check this code, i found it in the old sdk:
{set-block scope=root variable=subject}{"Collected information from:"|i18n("design/standard/content/edit")} {$collection.object.name} {/set-block} {set-block scope=root variable=email_receiver}{$object.data_map.email_receiver.content}{/set-block} {"The following information was collected:"|i18n("design/standard/content/edit")} {section name=Attribute loop=$collection.attributes} {$Attribute:item.contentclass_attribute_name}: {$Attribute:item.data_text}{/section}
Greetz, Thomas