This question has been flagged
1 Reply
1886 Views

Hello, I am trying to place the following code in the editor of the web theme at the foot of the page, in odoo 13, it does not let me save and highlights the link line, please a suggestion, thanks:

<li>
<a target="_blank" href="https://api.whatsapp.com/send?phone=573232810871&text=">
<span class="fa fa-whatsapp"/>
<span class="o_force_ltr" t-field="res_company.phone"/>
</a>
</li>
Avatar
Discard
Best Answer

Hello Myriam Marlen Gordillo Novoa,

Please try to replace your <a> tag with these -

Option - 1)

<a href="https://web.whatsapp.com/send?l=&amp;phone=0917984575481&amp;text=Hi" target="_blank" style="color:#fff;font-weight:400">

Option-2)

<a class="btn btn-sm btn-link" href = "'https://api.whatsapp.com//send?text=%s " title="WhatsApp" target="_blank" onclick="window.open('https://api.whatsapp.com//send?text='HI'+encodeURIComponent(document.text) + encodeURIComponent(document.title) + ': ' + encodeURIComponent(document.URL)); return false;">

Thanks

Regards,




Email:      odoo@aktivsoftware.com  

Skype: kalpeshmaheshwari

   

Avatar
Discard