自定义Ektron HTML表单电子邮件布局 [英] Customize Ektron HTML Form Email Layout
问题描述
我想知道在提交Ektron HTML表单时是否有自定义电子邮件HTML正文内容的方法。
I would like to know if there's a way to customize the email HTML body contents when submitting an Ektron HTML form.
例如,提交表单,表格数据通过电子邮件发送至john@doe.gov。打开电子邮件后,会有一个表格,其中包含提交表单中的数据。我想知道是否有办法修改为该电子邮件生成的HTML表。
For example, a form is submitted and the form data is emailed to john@doe.gov. Upon opening the email, there is a table containing the data from the submitted form. I want to know if there's a way to modify the HTML table which was generated for that email.
我的目标是尝试一些CSS来强制在表格如此冗长的textarea输入数据将被适当地包装。
My goal is to experiment with some CSS to force word-wrapping in the table so lengthy textarea-input data will be wrapped appropriately.
推荐答案
我从来没有尝试过自定义,所以我不知道是否有任何陷阱,但这些文件看起来很有希望:
I've never tried customizing it, so I don't know if there are any "gotchas", but these files look promising:
- /Workarea/controls/forms/DefaultFormEmailBody.xslt
- /Workarea/controls/forms/template_FormDataDisplay.xslt
- /Workarea/controls/forms/template_FormFieldValue.xslt
该表是在template_FormDataDisplay.xslt中生成的,单独的表行在template_FormFieldValue.xslt中生成。
The table is generated in "template_FormDataDisplay.xslt", and the individual table rows are generated in "template_FormFieldValue.xslt".
通常的我要修改工作区中的某些内容警告适用:备份您更改的任何文件,并且知道安装升级到Ektron将覆盖任何的更改。
The usual "I want to modify something in the workarea" warning applies: Make backups of any file you change, and know that installing an upgrade to Ektron will overwrite any of your changes.
这篇关于自定义Ektron HTML表单电子邮件布局的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!