Se rendre au contenu
Menu
Cette question a été signalée
1 Répondre
4856 Vues

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
Ignorer
Meilleure réponse

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
Ignorer
Publications associées Réponses Vues Activité
0
mars 25
1260
0
janv. 25
3299
1
août 23
14609
1
août 23
13252
1
juil. 23
10256