Html editor use realtive urls by default

Prevent HTML editor from converting URLs to relative links in email templates.

Overview

The HTML editor (TinyMCE) automatically transforms absolute URLs into relative ones, which break when the email is received.
Compose the HTML content in an external editor and paste it into the plain text template area, or configure the editor's settings to disable relative URL conversion if modifying the CF files is acceptable.

Answered
ol oloccina 16 Dec, 2015
Hello,

I noticed that the html editor that appears when I create an email template
transform any url in a relative url, which causes the link not to work
when the user receives the email.

I can of course switch off the editor and work on the html directly,
but as soon as I switch it on it modify the urls again.

Thank you
Gr GreyHead 16 Dec, 2015
Answer
Hi oloccina,

I don't think that there is any simple answer to this in the Admin area :-( I suggest that you compose your HTML using a different HTML editor and copy and paste it into the plain text Email template.

Bob

Note you can configure TinyMCE to do this but there is no way I know of the change the admin area configuration without hacking the ChronoForms files.
[list]relative_urls : false,
remove_script_host : false,
convert_urls : true,[/list]
This topic is locked and no more replies can be posted.