Problems with html editor, loosing the absolute path

Hello,

I have a from application dealing with an HTML editor.
The problem is that everytime I put an absolute path like http://XXXX.com/rrr.jpg it converts it in a relative path like …/rrr.jph
Iknow the solution which is changing the parameter that cals the editor: ‘relative_urls:false’ but I don’t know how to do it in SC

Any comments?

Many thanks

Artur

Re: Problems with html editor, loosing the absolute path

Hello Artur,

Please contact our support as an installation problem regarding this issue.

regards,
Bernhard Bernsmann

Re: Problems with html editor, loosing the absolute path

Bernhard,
I logged this with a ticket some time ago. Never did get a response. I then started a thread elsewhere here about the problem as well.

The path gets changed on code generation.

Cheers

Re: Problems with html editor, loosing the absolute path

Hello GuiGuy,

The problem is that the problem description was a little too vague. I cannot tell how you are referencing the absolute path. Is it a img tag? Is it a simple link? As I asked earlier, please contact our support regarding this issue.

regards,
Bernhard Bernsmann

Re: Problems with html editor, loosing the absolute path

Thank you,

I’ve contacted but with no reply will do it again,

There is an <img> inside the html editor I put the absolute path to that image (which is located in another web site), when I click onn save, and open it again it have chagen to relative path,

I hope its more clear now,

Best regards

Artur

Re: Problems with html editor, loosing the absolute path

Hello,

I’ve contacted the support and the ask me to make a copy of the site and reinstall again

Hello,
I have the same issue in my production website but not in my qualification one. The qualification website is deployed in a subdirectory under the root directory of my production environment. If the url corresponding to the prod website is for example: http://prod.website.com all the urls in the html editor which begin with http://prod.website.com are concerned by this issue and replaced by something like …/…/.
Now if the qualification website url is for example: http://qual.prod.website.com, all the urls in the html editor which begin with http://prod.website.com are not modified when the content is saved. I hope this will help to solve this bug.

Hi

The problem is still present in 7.01.0009

We use HTML Editor to create e-mail to send. The application ( production ) is on the same domain where the images are linked.

i.e. application on www.domain.com/app and images on www.domain.com/images

Everytime i insert an image with link http://www.domain.com/images/myimage.png this is replaced by …/…/images/myimage.png
Inside the app images are displayed but when i send a mail the reference cannot be resolved.

And this problem will persist in any new version of SC as this is a problem in tinyMCE. Don’t know why tiny does this, but it has been for years. If you need to solve this then you need to perform a stringreplace on the onbeforeupdate/insert to change …/…/ by your url.

Hello,

Issue reported to our bugs team.

regards,
Bernhard Bernsmann

[QUOTE=bartho;18470]Hello,

Issue reported to our bugs team.

regards,
Bernhard Bernsmann[/QUOTE]

I think the group of development and that of the support do not speak at all between them.
I’m trying to explain the problem in a ticket that I opened several days ago but it seems that no one is able to remotely understand what we’re talking about.
Please look at how to solve the problem. is explained in this link.

http://www.tinymce.com/forum/viewtopic.php?id=642

Google is so simple to use … and also the Translator…

e s? para ter certeza algu?m entende

Penso que o grupo de desenvolvimento e de que o apoio n?o falar em tudo entre elas.
Estou tentando explicar o problema em um bilhete que abri h? v?rios dias, mas parece que ningu?m ? capaz de compreender remotamente o que estamos falando.
Por favor, olhe para a forma de resolver o problema. ? explicado neste link.

http://www.tinymce.com/forum/viewtopic.php?id=642

Google ? t?o simples de usar … e tamb?m em que o tradutor

Don’t know why I missed that one. G I’m looking for years for this option. It’s been anoying me in E107CMS for years and so simple to solve. Tnx!

You’re welcome!

You helped me with your suggestions in many other cases

That’s what the forum is for :slight_smile:

Found a workaround

in /prod/third/tiny_mce/tiny_mce_src.js

replace the origina setting:

convert_urls:1;
relative_urls:1;

with

convert_urls:0;
relative_urls:0;

and don’t forget to clear the cache!!!

this for development and production too but don’t forget to do the same every time you upgrade SC… an option in tinyMCE toolbar or a better editor should be nice…