Skip to Content
Menu
You need to be registered to interact with the community.
This question has been flagged
1 Odgovori
4859 Prikazi

Hi,

How we can add datas in html fields. I have added some html data in that field. It doesn't seems to be look fine.

Avatar
Opusti
Best Answer

Example:


<field name="body_html"><![CDATA[

<p>

Hello ${object.name},

</p>

<p>

You have been invited to validate your email in order to get access to "${object.company_id.name}" Q/A Forums.

</p>

<p>

To validate your email, please click on the following link:

</p>

<ul>

<li><a href="${ctx.get('token_url')}">Validate my account for "${object.company_id.name}" Q/A Forums</a></li>

</ul>

<p>

Thanks,

</p>

<pre>

--

${object.company_id.name or ''}

${object.company_id.email or ''}

${object.company_id.phone or ''}

</pre>]]>


</field>

Avatar
Opusti
Related Posts Odgovori Prikazi Aktivnost
0
mar. 25
1262
0
jan. 25
3305
1
avg. 23
14611
1
avg. 23
13254
1
jul. 23
10272