Jump to content

Problem with URL on email template translation on saving


oliverhr

Recommended Posts

I hope anyone can help me,

 

Im getting issues with email templates translation on prestashop 1.6.0.5.

 

I been editing prestashop templates with custom images and links but on save all of them are getting changed. In the best scenario(bad also but...) the domain part are removed:

 

original:

<img src="http://shop.mydomain.com/img/phone322.png" alt="" width="35" height="35" />

After save:

<img src="/img/phone322.png" alt="" width="35" height="35" />

or in worst scenario de "secret" admin path is concatenated to url:

<a href="/admin02005/http://shop.mydomain.com/">Link</a>
<img src="/admin02005/cid:[email protected]"/>
<img src="/admin02005/img/phone322.png" alt="" width="35" height="35" />

Thank you in advance.

Edited by oliverhr (see edit history)
Link to comment
Share on other sites

Solution edit file

 

 

/js/tiymce.inc.js

 

Make shure you have this elements on default_config:

default_config = {
...
    cleanup: false,
    convert_urls: false,
    relative_urls : false,
    remove_script_host: false,
...
}

For more reference read:

 

http://mypresta.eu/en/art/prestashop-16/extended-rich-text-editor.html

 

thanks to Milosz Myszczuk aka @Vekia

  • Like 1
Link to comment
Share on other sites

×
×
  • Create New...