Forums / General / setting subject in information collector not working
Jacek S
Tuesday 20 February 2007 3:55:30 am
I have an information collector and a template containing custom form connected with it. I want to send collected info thru email but I want to set my own title for this email. I have tried to set this by : {set-block scope=root variable=subject}MY_OWN_TITLE{/set-block}but all emails are send with default title (something like "Collected info from...".
So, where I made an error? Or is there a bug?
Xavier Serna
Tuesday 20 February 2007 4:18:17 am
Hi Thorgrim,
you have to be sure that your mail template is used, defining an override for it. It seems that your tpl is not used, because I've set the subject line for our contact forms like yours and work as expected...Perhaps a cache problem, too...
For you to note, the override rule you need is
[your_override_name] Source=content/collectedinfomail/form.tpl
hope this helps!
-- Xavier Serna eZ Publish Certified Developer Departament de Software Microblau S.L. - http://www.microblau.net +34 937 466 205
Monday 26 February 2007 4:53:47 am
Thanks, your information was very useful. I had problem with templates' overriding.