首页 > 解决方案 > Plone 4.0:FormGen Mailer 模板字段

问题描述

我正在自定义一个表单邮件模板,并希望我的电子邮件模板中的字段按其字段集分组,并且还包括字段集标题。那有可能吗?先感谢您。我是 Plone 的新用户。我目前的模板是:

<html xmlns="http://www.w3.org/1999/xhtml">
<head><title></title></head>
<body>
     <p tal:content="here/getBody_pre | nothing" />
    <table border="0" cellpadding="5" cellspacing="0" width="600" style="-webkit-text-size-adjust: none;">
        <tal:block repeat="field options/wrappedFields | nothing">
    <tr style="border-bottom-width: 1px; border-bottom-style:solid; border-bottom-color: black;">
<td>
<tal:first tal:content="field/fgField/widget/label" />: <tal:second tal:content="structure python:field.htmlValue(request)" />             
</td>
</tr>
    </tal:block>
</table>
<p tal:content="here/getBody_post | nothing" />
<pre tal:content="here/getBody_footer | nothing" />
 </body>
 </html>

标签: plone

解决方案


推荐阅读