<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">
<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:x="urn:schemas-microsoft-com:office:excel" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40">

<head>

<meta name=Generator content="Microsoft Word 12 (filtered medium)">
<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;}
 /* Style Definitions */
 p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0cm;
        margin-bottom:.0001pt;
        font-size:11.0pt;
        font-family:"Calibri","sans-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.EmailStyle17
        {mso-style-type:personal;
        font-family:"Calibri","sans-serif";
        color:windowtext;}
span.EmailStyle18
        {mso-style-type:personal;
        font-family:"Calibri","sans-serif";
        color:#1F497D;}
span.EmailStyle19
        {mso-style-type:personal;
        font-family:"Calibri","sans-serif";
        color:#1F497D;}
span.EmailStyle20
        {mso-style-type:personal;
        font-family:"Calibri","sans-serif";
        color:#1F497D;}
span.EmailStyle21
        {mso-style-type:personal-reply;
        font-family:"Calibri","sans-serif";
        color:#1F497D;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-size:10.0pt;}
@page Section1
        {size:612.0pt 792.0pt;
        margin:72.0pt 72.0pt 72.0pt 72.0pt;}
div.Section1
        {page:Section1;}
-->
</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=EN-GB link=blue vlink=purple>

<div class=Section1>

<p class=MsoNormal><span style='color:#1F497D'>It's actually slightly worse
than that - it doesn't appear to be rewriting the URLs either on the move or on
live viewing - the same site that in 6 was (when viewing the live site) translating
/site/default/tssi/ into the proper paths isn't doing that in the 7 server.<o:p></o:p></span></p>

<p class=MsoNormal><span style='color:#1F497D'><o:p> </o:p></span></p>

<p class=MsoNormal><span style='color:#1F497D'>I imported it as per the
instructions (set the export to "Offline" and selected /, did the
export then on the import set site to Offline and selected / then did the
import).<o:p></o:p></span></p>

<p class=MsoNormal><span style='color:#1F497D'><o:p> </o:p></span></p>

<p class=MsoNormal><span style='color:#1F497D'>The two pages look the same in
the editor when looking at the control code but when I publish it in the 7 it's
leaving the /sites/default/tssi in the path of all the links rather than
stripping it out..<o:p></o:p></span></p>

<p class=MsoNormal><span style='color:#1F497D'><o:p> </o:p></span></p>

<p class=MsoNormal><span style='color:#1F497D'>And I suspect the same type of
error is happening on the move - ie the URIs are not being parsed and so not
being rewritten.<o:p></o:p></span></p>

<p class=MsoNormal><span style='color:#1F497D'><o:p> </o:p></span></p>

<p class=MsoNormal><span style='color:#1F497D'>Cheers,<o:p></o:p></span></p>

<p class=MsoNormal><span style='color:#1F497D'>Phil<o:p></o:p></span></p>

<p class=MsoNormal><span style='color:#1F497D'><o:p> </o:p></span></p>

<p class=MsoNormal><span style='font-size:10.0pt;font-family:"Times New Roman","serif";
color:#1F497D'>Phil Launchbury<br>
IT & Support Manager<br>
------------------------------------------------------<br>
TSSI Systems Ltd,<br>
Rutland House, Hargreaves Road,<br>
Groundwell Industrial Estate,<br>
Swindon, Wiltshire, SN25 5AZ, U.K.<br>
Tel: +44 (0) 1793 747736<br>
<br>
Support Helpdesk<br>
Tel: +44 (0) 8450 707 898<br>
Email: support@tssi.co.uk<br>
Website: www.tssi.co.uk<br>
<br>
'Securing Business Around the World'<br>
-------------------------------------------------------</span><span
style='font-size:12.0pt;font-family:"Times New Roman","serif";color:#1F497D'> </span><span
style='color:#1F497D'><o:p></o:p></span></p>

<div>

<div style='border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0cm 0cm 0cm'>

<p class=MsoNormal><b><span lang=EN-US style='font-size:10.0pt;font-family:
"Tahoma","sans-serif"'>From:</span></b><span lang=EN-US style='font-size:10.0pt;
font-family:"Tahoma","sans-serif"'> Carl Alex Friis Nielsen [mailto:cfn@kb.dk] <br>
<b>Sent:</b> Thursday, January 29, 2009 10:44 AM<br>
<b>To:</b> Phil Launchbury; The OpenCms mailing list<br>
<b>Subject:</b> SV: [opencms-dev] Adding new locale to existing site<o:p></o:p></span></p>

</div>

</div>

<p class=MsoNormal><o:p> </o:p></p>

<p class=MsoNormal><span lang=EN-US style='color:#1F497D'>I don’t *<b>know</b>*,
but I think that perhaps touching everything with a forced rewrite or a forced
repair with the “repair xml contents” might do the trick.<o:p></o:p></span></p>

<p class=MsoNormal><span lang=EN-US style='color:#1F497D'><o:p> </o:p></span></p>

<p class=MsoNormal><span lang=EN-US style='color:#1F497D'>When we upgraded from
a version that didn’t have the new link management to a version that did, it
worked from the beginning.<o:p></o:p></span></p>

<p class=MsoNormal><span lang=EN-US style='color:#1F497D'><o:p> </o:p></span></p>

<p class=MsoNormal><span lang=EN-US style='color:#1F497D'>Have you tried
creating a new resource, let it link to something, move the resource linked to,
and examine the result ?<o:p></o:p></span></p>

<p class=MsoNormal><span lang=EN-US style='color:#1F497D'><o:p> </o:p></span></p>

<p class=MsoNormal><span lang=EN-US style='color:#1F497D'>Cheers,<o:p></o:p></span></p>

<p class=MsoNormal><span lang=EN-US style='color:#1F497D'><o:p> </o:p></span></p>

<p class=MsoNormal><span lang=EN-US style='color:#1F497D'>Carl<o:p></o:p></span></p>

<p class=MsoNormal><span lang=EN-US style='color:#1F497D'><o:p> </o:p></span></p>

<div>

<div style='border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0cm 0cm 0cm'>

<p class=MsoNormal><b><span lang=DA style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'>Fra:</span></b><span
lang=DA style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'>
opencms-dev-bounces@opencms.org [mailto:opencms-dev-bounces@opencms.org] <b>På
vegne af </b>Phil Launchbury<br>
<b>Sendt:</b> 28. januar 2009 15:51<br>
<b>Til:</b> 'The OpenCms mailing list'<br>
<b>Emne:</b> Re: [opencms-dev] Adding new locale to existing site<o:p></o:p></span></p>

</div>

</div>

<p class=MsoNormal><span lang=DA><o:p> </o:p></span></p>

<p class=MsoNormal><span style='color:#1F497D'>Right - I've set up a test
server (7.0.5) and copied our current sites to it. Unfortunately it doesn't
seem to be remapping the URLS when I move a folder - is there something extra I
need to do?<o:p></o:p></span></p>

<p class=MsoNormal><span style='color:#1F497D'><o:p> </o:p></span></p>

<p class=MsoNormal><span style='color:#1F497D'>I'm just using the 'Move'
function from the right-click menu.<o:p></o:p></span></p>

<p class=MsoNormal><span style='color:#1F497D'><o:p> </o:p></span></p>

<p class=MsoNormal><span style='color:#1F497D'>Cheers,<o:p></o:p></span></p>

<p class=MsoNormal><span style='color:#1F497D'>Phil<o:p></o:p></span></p>

<p class=MsoNormal><span style='color:#1F497D'><o:p> </o:p></span></p>

<p class=MsoNormal><span style='font-size:10.0pt;font-family:"Times New Roman","serif";
color:#1F497D'>Phil Launchbury<br>
IT & Support Manager<br>
------------------------------------------------------<br>
TSSI Systems Ltd,<br>
Rutland House, Hargreaves Road,<br>
Groundwell Industrial Estate,<br>
Swindon, Wiltshire, SN25 5AZ, U.K.<br>
Tel: +44 (0) 1793 747736<br>
<br>
Support Helpdesk<br>
Tel: +44 (0) 8450 707 898<br>
Email: support@tssi.co.uk<br>
Website: www.tssi.co.uk<br>
<br>
'Securing Business Around the World'<br>
-------------------------------------------------------</span><span
style='font-size:12.0pt;font-family:"Times New Roman","serif";color:#1F497D'> </span><span
style='color:#1F497D'><o:p></o:p></span></p>

<div>

<div style='border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0cm 0cm 0cm'>

<p class=MsoNormal><b><span lang=EN-US style='font-size:10.0pt;font-family:
"Tahoma","sans-serif"'>From:</span></b><span lang=EN-US style='font-size:10.0pt;
font-family:"Tahoma","sans-serif"'> Carl Alex Friis Nielsen [mailto:cfn@kb.dk] <br>
<b>Sent:</b> Tuesday, January 27, 2009 9:54 AM<br>
<b>To:</b> Phil Launchbury; The OpenCms mailing list<br>
<b>Subject:</b> SV: [opencms-dev] Adding new locale to existing site<o:p></o:p></span></p>

</div>

</div>

<p class=MsoNormal><o:p> </o:p></p>

<p class=MsoNormal><span lang=DA style='color:#1F497D'>Why not upgrade to 7.0.5
?<o:p></o:p></span></p>

<p class=MsoNormal><span lang=DA style='color:#1F497D'><o:p> </o:p></span></p>

<p class=MsoNormal><span lang=EN-US style='color:#1F497D'>Among other things,
you can then move resources around without breaking links.<o:p></o:p></span></p>

<p class=MsoNormal><span lang=EN-US style='color:#1F497D'><o:p> </o:p></span></p>

<p class=MsoNormal><span lang=EN-US style='color:#1F497D'>Cheers,<o:p></o:p></span></p>

<p class=MsoNormal><span lang=EN-US style='color:#1F497D'><o:p> </o:p></span></p>

<p class=MsoNormal><span lang=EN-US style='color:#1F497D'>Carl<o:p></o:p></span></p>

<p class=MsoNormal><span lang=EN-US style='color:#1F497D'><o:p> </o:p></span></p>

<div>

<div style='border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0cm 0cm 0cm'>

<p class=MsoNormal><b><span lang=DA style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'>Fra:</span></b><span
lang=DA style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'>
opencms-dev-bounces@opencms.org [mailto:opencms-dev-bounces@opencms.org] <b>På
vegne af </b>Phil Launchbury<br>
<b>Sendt:</b> 27. januar 2009 10:39<br>
<b>Til:</b> opencms-dev@opencms.org<br>
<b>Emne:</b> [opencms-dev] Adding new locale to existing site<o:p></o:p></span></p>

</div>

</div>

<p class=MsoNormal><span lang=DA><o:p> </o:p></span></p>

<p class=MsoNormal>Hi,<o:p></o:p></p>

<p class=MsoNormal><o:p> </o:p></p>

<p class=MsoNormal>We are adding an 'es' locale onto our existing (mature!)
site (OpenCMS 6) and have done it as follows:<o:p></o:p></p>

<p class=MsoNormal><o:p> </o:p></p>

<p class=MsoNormal>Created the new locale (we only had 'en' beforehand).<o:p></o:p></p>

<p class=MsoNormal>Created a top-level folder called es<o:p></o:p></p>

<p class=MsoNormal>Created a top level folder called en and moved our existing
content into it.<o:p></o:p></p>

<p class=MsoNormal><o:p> </o:p></p>

<p class=MsoNormal>Unfortunately this means that all the links within the
existing site are now wrong. Adding a . in front of the link cures the problem
but we really, really don't want to have go go through the whole site updating
each link individually (there are thousands of them!).<o:p></o:p></p>

<p class=MsoNormal><o:p> </o:p></p>

<p class=MsoNormal>Is there a way that we can automatically add the correct
folder prefix based on the locale? Kind of making /en/ or /es/ as the new root
of the site based on the locale of browser looking at the site. Or can we
globally find/replace to add a . in front of all the links (I thought of WebDAV
but that seems to only work in OpenCMS 7).<o:p></o:p></p>

<p class=MsoNormal><o:p> </o:p></p>

<p class=MsoNormal>Or can we make the /en/ folder into a symlink to the root of
the main site? That way all our existing content would not have to move and we
can just create the new content in the /es/ folder as needed..<o:p></o:p></p>

<p class=MsoNormal><o:p> </o:p></p>

<p class=MsoNormal>Help!<o:p></o:p></p>

<p class=MsoNormal><o:p> </o:p></p>

<p class=MsoNormal>Cheers,<o:p></o:p></p>

<p class=MsoNormal>Phil<o:p></o:p></p>

<p class=MsoNormal><o:p> </o:p></p>

<p class=MsoNormal><span style='font-size:10.0pt;font-family:"Times New Roman","serif"'>Phil
Launchbury<br>
IT & Support Manager<br>
------------------------------------------------------<br>
TSSI Systems Ltd,<br>
Rutland House, Hargreaves Road,<br>
Groundwell Industrial Estate,<br>
Swindon, Wiltshire, SN25 5AZ, U.K.<br>
Tel: +44 (0) 1793 747736<br>
<br>
Support Helpdesk<br>
Tel: +44 (0) 8450 707 898<br>
Email: support@tssi.co.uk<br>
Website: www.tssi.co.uk<br>
<br>
'Securing Business Around the World'<br>
-------------------------------------------------------</span><span
style='font-size:12.0pt;font-family:"Times New Roman","serif"'> </span><o:p></o:p></p>

<p class=MsoNormal><span style='font-size:12.0pt;font-family:"Times New Roman","serif"'><br>
This e-mail message (including any attachments) is from TSSI and intended for the
addressee only. It may contain information that is privileged and confidential.
If you are not the intended recipient, you must not copy, distribute or take
any action in reliance of it. If this communication has been sent to you in
error, please notify us immediately by either replying to this e-mail or by
telephoning our offices on (+44) 1793 747700. TSSI accept no responsibility for
any changes made to this message after it has been sent by the original author.
This email or any of its attachments may contain data that falls within the
scope of the Data Protection Acts. You must ensure that any handling or
processing of such data by you is fully compliant with the terms and provisions
of the Data Protection Act 1984 and 1998.<br>
TSSI Systems Ltd is a company registered in England And Wales with company
number 05433732.<br>
The TSSI Systems Ltd Registered Office address is Rutland House, Hargreaves Rd,
Groundwell Industrial Estate, Swindon, Wiltshire, SN25 5AZ.<o:p></o:p></span></p>

<p class=MsoNormal><span style='font-size:12.0pt;font-family:"Times New Roman","serif"'><br>
This e-mail message (including any attachments) is from TSSI and intended for
the addressee only. It may contain information that is privileged and
confidential. If you are not the intended recipient, you must not copy,
distribute or take any action in reliance of it. If this communication has been
sent to you in error, please notify us immediately by either replying to this
e-mail or by telephoning our offices on (+44) 1793 747700. TSSI accept no
responsibility for any changes made to this message after it has been sent by
the original author. This email or any of its attachments may contain data that
falls within the scope of the Data Protection Acts. You must ensure that any
handling or processing of such data by you is fully compliant with the terms
and provisions of the Data Protection Act 1984 and 1998.<br>
TSSI Systems Ltd is a company registered in England And Wales with company
number 05433732.<br>
The TSSI Systems Ltd Registered Office address is Rutland House, Hargreaves Rd,
Groundwell Industrial Estate, Swindon, Wiltshire, SN25 5AZ.<o:p></o:p></span></p>

</div>


<BR>
This e-mail message (including any attachments) is from TSSI and intended for the addressee only. It may contain information that is privileged and confidential.  If you are not the intended recipient, you must not copy, distribute or take any action in reliance of it. If this communication has been sent to you in error, please notify us immediately by either replying to this e-mail or by telephoning our offices on (+44) 1793 747700. TSSI accept no responsibility for any changes made to this message after it has been sent by the original author. This email or any of its attachments may contain data that falls within the scope of the Data Protection Acts. You must ensure that any handling or processing of such data by you is fully compliant with the terms and provisions of the Data Protection Act 1984 and 1998.<BR>
TSSI Systems Ltd is a company registered in England And Wales with company number 05433732.<BR>
The TSSI Systems Ltd Registered Office address is Rutland House, Hargreaves Rd, Groundwell Industrial Estate, Swindon, Wiltshire, SN25 5AZ.<BR>
</body>

</html>