Forums / Setup & design / Subject of Feedback form???
Siw Helen Thorslund
Friday 26 November 2004 5:08:40 am
What file do I edit to change the subject of a feedback form?
=)
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 )
Łukasz Serwatka
Friday 26 November 2004 5:11:51 am
Hi,
Look at /kernel/form/process.phpThere you can change default subject.
Personal website -> http://serwatka.net Blog (about eZ Publish) -> http://serwatka.net/blog
Friday 26 November 2004 5:59:45 am
This can't be done in an .tpl?
I want to post a variable on the subject field, cause I use the same form in different places. And want the subject to indicate what instance of the form I have used...
Friday 26 November 2004 6:01:18 am
I ise the same feedback class in different places of the site. And I want to indicate in the subject field from what instance this feedback is from..
Friday 26 November 2004 6:21:15 am
Look at this http://ez.no/ez_publish/documentation/customization/components/form_processing
Friday 26 November 2004 6:22:12 am
Something is wrong with forum postings. Some times we have double posts at the same time :/
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}nospam@ez.no{/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?
Saturday 27 November 2004 4:21:20 am
Anyone that have any good idea for this problem? =)