Closed (won't fix)
Project:
Webform
Version:
7.x-3.13
Component:
User interface
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
13 Sep 2011 at 09:25 UTC
Updated:
8 Dec 2011 at 02:09 UTC
Hi,
i'm using http://drupal.org/project/htmlmail to send drupal email in HTML, it's working fine with webforms if i type html in the template area but i would like to activate the wysiwyg editor in the template area.
To do this, i'm using a simple form_alter who setup
$form['template']['template']['#wysiwyg'] = true;
$form['template']['template']['#type'] = 'text_format';
but unfortunatly, when i save the form i'm getting :
Notice: Array to string conversion in webform_email_edit_form_submit() (line 425 of /sites/all/modules/webform/includes/webform.emails.inc).
Did i forgot something in the form alter or is there a better way to achieve this ?
Thanks for answer.
Comments
Comment #1
quicksketchAs mentioned in the submission guidelines, I don't provide help with custom coding:
Please refer to other resources such as IRC or Drupal StackExchange to ask your questions.