我必须更改 sr_feuser_register ext 中的默认确认 emial 模板,我已经成功更改了每个标记内容,但我必须将图像插入 html 电子邮件并且它不想工作......我试图用整个img标签(img src =“....”),我试过只替换src(img src =“marker”)......但不起作用。有人遇到过这个问题吗?
1320 次
2 回答
1
请启用 html:
plugin.tx_srfeuserregister_pi1.create.fields = module_sys_dmail_html .....
plugin.tx_srfeuserregister_pi1.create.defaultValues.module_sys_dmail_html = 1
and in template file tx_srfeuserregister_pi1_css_tmpl.html
<!-- ###TEMPLATE_CREATE### begin -->
...........
<!-- ###SUB_INCLUDED_FIELD_module_sys_dmail_html### -->
<dt>
</dt>
<dd>
<input type="hidden" title="" name="FE[fe_users][module_sys_dmail_html]" value="test">
</dd>
<!-- ###SUB_INCLUDED_FIELD_module_sys_dmail_html### -->
.............
<!-- ###TEMPLATE_CREATE### end -->
于 2012-07-28T08:47:11.380 回答
0
Flexo 的回答对我不起作用。相反,我激活了 Direct Mail 并将 HTML 模板中的 dmail 复选框设置为隐藏。
<!-- ###SUB_INCLUDED_FIELD_module_sys_dmail_html### -->
...
<div style="display:none;"><!--TCA_INPUT_module_sys_dmail_html--></div>
...
<!-- ###SUB_INCLUDED_FIELD_module_sys_dmail_html### -->
此外,在常量中,您可以设置
plugin.tx_srfeuserregister_pi1.dmailCheckedUponRegistration = 1
确保默认选中复选框。
于 2016-09-30T17:02:26.393 回答