Announcement

Do not use the forums to submit bug reports, feature requests or patches, submit a New Ticket instead.

#1 2006-02-11 02:37:28

raj
New member
Registered: 2006-01-28
Posts: 6

IE converting urls to absolute form

Hello!

I've been very happily using and learning about Xinha but have run into a bump that is really puzzling me. I've been all over the forums, google and the bug reports but am having no luck..

The problem:
Xinha is converting my relative links into absolute urls. The odd thing is that it is only doing this when using IE (6.0.2900....), using FireFox it does a fine job of maintaining the link as I've specified. In IE, the url conversion usually happens when I set my xinha textarea into html mode, then into preview, and then back into html mode.

I've added the following lines to my_config.js because I've seen mentions of both baseHref and baseURL in htmlarea.js

       xinha_config.baseHref = "<domain>";
       xinha_config.stripBaseHref = true;
       xinha_config.baseURL =  "<domain>";
       xinha_config.stripBaseURL = true;

The baseHref of baseUrl settings seem to be correct as all my image paths and iframe links are working properly, but for some reason  can't get IE to stop from converting all of my links, (including the src for all img tags) into absolute urls!

I do have the Stylist and GetHtml plugins running in my install and am using the most recent nightly package.

Muchas Gracias!

Offline

#2 2006-02-13 11:16:33

raj
New member
Registered: 2006-01-28
Posts: 6

Re: IE converting urls to absolute form

I've been looking around for some more information and it looks like the whole "absolute/relative" path issue has been a problem since the HTMLArea days (I was looking at the old HTMLArea forums). For some reason, I still cannot get the urls to show as relative - despite settting the stripBaseHref and stripBaseURL to true.

Any help would be greatly appreciated - I'm out of ideas!

Offline

#3 2006-02-14 06:02:32

ray
Xinha Administrator
From: Germany
Registered: 2005-03-23
Posts: 521
Website

Re: IE converting urls to absolute form

Never being lucky with this matter, I turned to stripping the baseURL server-side

Offline

#4 2006-02-15 01:42:40

raj
New member
Registered: 2006-01-28
Posts: 6

Re: IE converting urls to absolute form

thanks for the info ray - I think I might have to abandon support for IE in my cms.

Offline

#5 2006-02-15 09:21:03

ray
Xinha Administrator
From: Germany
Registered: 2005-03-23
Posts: 521
Website

Re: IE converting urls to absolute form

yes, I think mozilla does work better with xinha anyway

Offline

#6 2006-03-23 15:42:04

mleiv
New member
Registered: 2006-03-23
Posts: 8

Re: IE converting urls to absolute form

I posted some of my ideas on this here:
http://xinha.gogo.co.nz/punbb/viewtopic.php?id=642
I *have* to make Xinha work for IE and I swear it is killing me.  I don't know how anyone can watch it work so beautifully in Firefox and then go right back to using IE.  But I feel that way about the 97% of my site visitors using IE whom I also am forced to develop for.   

But at least it makes my days interesting ... wink

Offline

Board footer

Powered by FluxBB