Friday 26 November 2004 7:05:15 am
<input type="hidden" name="MailSubject" value="Form information" />
This is not working.. I am posting to form.tpl that looks like this:
{set-block scope=root variable=subject}{"Collected information from %1"|i18n("design/standard/content/edit",,array($collection.object.name))}{/set-block}
{* Use this line to specify the e-mail in the template, can read this from the object to
make it dynamic pr form
{set-block scope=root variable=email_receiver}[email protected]{/set-block}
*}
{* Set this to redirect to another node
{set-block scope=root variable=redirect_to_node_id}2{/set-block}
*}
{"The following information was collected:"|i18n("design/standard/content/edit")}
{section name=Attribute loop=$collection.attributes}
{$Attribute:item.contentclass_attribute_name|wash}:
{attribute_result_gui view=info attribute=$Attribute:item}
{/section}
But I do not want the subject to be the NAME, but a field called SUBJECT. (The field SUBJECT is defined in the class, but not an information collector. It is given the value through the admin interface.) How do I do this?
www.VZT.no ( http://www.VZT.no )
VZT References ( http://http://vzt.no/index.php/vzt_eng/referanser )
VZT Extensions ( http://vzt.no/index.php/vzt_eng/extensions )
www.MediaBase.no ( http://www.MediaBase.no )
|