dtl laci dtl laci - 2 months ago 24
HTML Question

Typo3 sr_feuser_register e-mail template not working img tag

i have to change the default confirmation emial template in sr_feuser_register ext, i'd changed succesfully every markers content but i have to insert an image into the html email and it don't want to work... i tried to replace the marker with te whole i.m.g. tag (img src="....") and i've tried ti replace only the src (img src="marker")... but dosn't work. anybody met this problem already?

Answer

Please enable 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 -->
Comments