<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<meta name="Generator" content="Microsoft Word 14 (filtered medium)">
<!--[if !mso]><style>v\:* {behavior:url(#default#VML);}
o\:* {behavior:url(#default#VML);}
w\:* {behavior:url(#default#VML);}
.shape {behavior:url(#default#VML);}
</style><![endif]--><style><!--
/* Font Definitions */
@font-face
{font-family:Calibri;
panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
{font-family:Tahoma;
panose-1:2 11 6 4 3 5 4 4 2 4;}
@font-face
{font-family:Verdana;
panose-1:2 11 6 4 3 5 4 4 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0cm;
margin-bottom:.0001pt;
font-size:12.0pt;
font-family:"Times New Roman","serif";}
a:link, span.MsoHyperlink
{mso-style-priority:99;
color:blue;
text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
{mso-style-priority:99;
color:purple;
text-decoration:underline;}
span.E-MailFormatvorlage17
{mso-style-type:personal-reply;
font-family:"Calibri","sans-serif";
color:#1F497D;}
.MsoChpDefault
{mso-style-type:export-only;
font-family:"Calibri","sans-serif";
mso-fareast-language:EN-US;}
@page WordSection1
{size:612.0pt 792.0pt;
margin:70.85pt 70.85pt 2.0cm 70.85pt;}
div.WordSection1
{page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
</head>
<body lang="DE" link="blue" vlink="purple">
<div class="WordSection1">
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D">Hi Christian,<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D">maybe it helps to set
<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D"> <userelativelinks>true</userelativelinks><o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D">in your opencms-importexport.xml.
<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D">Default is “false”.<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D">Regards<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D">Kai<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><b><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif"">Von:</span></b><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif""> opencms-dev-bounces@opencms.org [mailto:opencms-dev-bounces@opencms.org]
<b>Im Auftrag von </b>Christian Esbensen<br>
<b>Gesendet:</b> Dienstag, 23. April 2013 16:12<br>
<b>An:</b> opencms-dev<br>
<b>Betreff:</b> [opencms-dev] Relative URL converted to absolute URLs<o:p></o:p></span></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Arial","sans-serif"">Hi</span>
<br>
<br>
<span style="font-size:10.0pt;font-family:"Arial","sans-serif"">I have run into a problem where relative URLs in my OpenCms resources are converted to absolute URLs when saving.</span>
<br>
<span style="font-size:10.0pt;font-family:"Arial","sans-serif"">Does anyone know a way to prevent OpenCms from prefixing relative URLs, created by the user in the editor, to absolute ones.</span>
<br>
<br>
<span style="font-size:10.0pt;font-family:"Arial","sans-serif"">Example:</span> <br>
<span style="font-size:10.0pt;font-family:"Arial","sans-serif"">I have a page that fetches content from OpenCms and displays this. Not all of the page are from OpenCms but only the content. This content might contain a relative URL to somewhere else on the
site. As OpenCms is on localhost, this URL is now prefixed with localhost (plus port and so on.)</span>
<br>
<br>
<span style="font-size:10.0pt;font-family:"Arial","sans-serif"">Hope you see my problem and that anyone know of a solution.</span>
<br>
<br>
<span style="font-size:10.0pt;font-family:"Arial","sans-serif"">I use OpenCms 8.0.4.</span>
<br>
<span style="font-size:10.0pt;font-family:"Verdana","sans-serif""><br>
</span><br>
<span style="font-size:10.0pt;font-family:"Verdana","sans-serif"">Med venlig hilsen/Best Regards</span>
<br>
<br>
<b><span style="font-size:10.0pt;font-family:"Verdana","sans-serif"">Christian Esbensen</span></b>
<br>
<i><span style="font-size:10.0pt;font-family:"Verdana","sans-serif"">IT Consultant</span></i>
<br>
<br>
<span style="font-size:10.0pt;font-family:"Verdana","sans-serif"">E-mail: </span>
<a href="mailto:che@tmnet.dk"><span style="font-size:10.0pt;font-family:"Verdana","sans-serif"">che@tmnet.dk</span></a>
<br>
<span style="font-size:10.0pt;font-family:"Verdana","sans-serif"">Mobile: +45 6085 4294</span>
<br>
<br>
<br>
<a href="http://www.tmnet.dk"><span style="text-decoration:none"><img border="0" width="169" height="65" id="_x0000_i1025" src="cid:image001.jpg@01CE405A.F93BE750"></span></a><br>
<span style="font-size:10.0pt;font-family:"Verdana","sans-serif"">Niels Hemmingsens Gade 9</span>
<br>
<span style="font-size:10.0pt;font-family:"Verdana","sans-serif"">1153 København K | Denmark</span>
<br>
<span style="font-size:10.0pt;font-family:"Verdana","sans-serif"">+45 3344 8555 |
</span><a href="www.tmnet.dk"><span style="font-size:10.0pt;font-family:"Verdana","sans-serif"">www.tmnet.dk</span></a>
<br>
<br>
<a href="https://www.facebook.com/pages/Theilgaard-Mortensen/65193922173"><span style="text-decoration:none"><img border="0" width="31" height="32" id="_x0000_i1026" src="cid:image002.jpg@01CE405A.F93BE750"></span></a><span style="font-size:7.5pt;font-family:"Verdana","sans-serif""> </span><a href="http://www.linkedin.com/company/theilgaard-mortensen-a-s"><span style="text-decoration:none"><img border="0" width="31" height="32" id="_x0000_i1027" src="cid:image003.jpg@01CE405A.F93BE750"></span></a>
<o:p></o:p></p>
</div>
</body>
</html>