Forums

WYSIWYG Editor: Full-URL turns into relative URL

bonnsport 19 Jan, 2016
Hello Forum,

i use a template from the component AcyMailing for the email-template in chronoforms v5.
In this template there are some images included for header, cormers, sereators.
You have to use the Full-URL i.e.
<img src="http://YOURDOMAIN.com/media/com_acymailing/templates/technology_resp/images/separator1.jpg" alt="---" />)
, if you want to see these images in your email.

For these changes i use the text-editor in chronoforms.

Unfortunally, the Full-URL becomes a relative URL when i use the wysiwyg editor for some other changes and then save these changes
<img src="../media/com_acymailing/templates/technology_resp/images/separator1.jpg" alt="---" />)

After that, the images of course aren`t shown anymore.

Does anyone has a hint for me, how i can reach, that the wysiwyg-editor leave the full-URL as it is (in chronoforms)?

Regards
Thomas
bonnsport 19 Jan, 2016
Thank you for the answer, Bob.
I followed the link above.
Could you please tell me, where i can hack the editor in chronoforms?
Whitch file is it?

Regards
Thomas
GreyHead 19 Jan, 2016
Hi Thomas,

I don't know without digging deep in the files and I wouldn't recommend that you try it :-(

Bob
bonnsport 21 Jan, 2016
Hi Forum,

i will use a workaround to solve my problem with the relative URLs.
chronoforms is installed into my normal domain (i.e. http://www.MYDOMAIN.TLD)
So all links/images-links in the chronoforms wysiwyg-editor for the email response become relative.
But when i have all the needed images under a subdomain (i.e.http//SUB.MYDOMAIN.TLD/media_cf5/...jpg)
the Full-URLS stay as inserted.
This is, how it works for me, till i found a way to change the TinyMCE in Chronoforms.

Regards
Thomas
This topic is locked and no more replies can be posted.