[opencms-dev] RE: OpenCms 6.0.x editor, relative links, and XML

Markus Mahnig markus.mahnig at sonydadc.com
Fri Feb 17 16:49:38 CET 2006


Hey Joel,

uh... sorry, mistyped something.
you have to edit it in the virtual filesystem within OpenCms (not the RFS
Copy) 

/system/workplace/resources/editors/htmlarea/htmlarea.js

you dont even need to publish the thing; just clear your browsercache...

HTH
Markus


Markus,
	What version of OpenCms and IE are you running?  I'm on OpenCms
6.0.2 and IE 6.0 and even after this change and restarting the
application, I still have the same issue.

Thanks,
Joel

-----Original Message-----
From: opencms-dev-bounces at opencms.org
[mailto:opencms-dev-bounces at opencms.org] On Behalf Of Markus Mahnig
Sent: Wednesday, February 15, 2006 2:25 AM
To: opencms-dev at opencms.org
Subject: Re: [opencms-dev] OpenCms 6.0.x editor, relative links, and XML


Hi,

i think the problematic IE FIX ist here
opencms\resources\editors\htmlarea\htmlarea.js Line 2047

// OPENCMS-FIX 10/22/04 (AK):
// HtmlArea strips hostname and port in IE, but OpenCms requires this
info
// in order to work with multiple sites.
// if (HTMLArea.is_ie && (name == "href" || name == "src")) {
// value = editor.stripBaseURL(value);
// }

enabling this, the links stay as entered =)
since we _need_ relative links, this looks like the solution for us....

Regards,
Markus

--
View this message in context: http://www.nabble.com/OpenCms-6.0.x-editor%2C-relative-links%2C-and-XML-t1112966.html#a2991750
Sent from the OpenCMS - Dev forum at Nabble.com.




More information about the opencms-dev mailing list