[opencms-dev] Copy site-content link problem
Christian Steinert
christian_steinert at web.de
Wed Mar 11 21:55:04 CET 2009
sorry - forget my response., I should have read your question more
carefully.
Sadly, I have no good idea how to tackle this short of
- re-editing your copied configuration file to adjust any rewritten
references
- write a simple JSP that adjusts the paths in your copied files as needed.
I would probably go with the second approach
Best Regards
Christian
>
>
>> Hi all,
>>
>> I've got a question regarding sites.
>>
>> Situation:
>> ---------------
>> Our OpenCms instance is going to run 20-30 different sites. To avoid
>> creating default files for each new site manually (options, column
>> layout, ...), I just want to copy a basic set of files.
>> So, if I want to create a new site "mysite" I would copy all files
>> under /sites/siteDefaultFiles to /sites/mysite. In siteDefaultFiles
>> there are basic hello- world HTMLs, configuration files etc.
>>
>> Problem:
>> ---------------
>> The file /sites/siteDefaultFiles/en/config from type ttconfig
>> references a box in /en/boxes/myBox (relative address).
>> After copying the config- file OpenCms changed the links from /en/
>> boxes/myBox to /sites/siteDefaultFiles/en/config.
>>
>> This is actually not what I want. I want the URL to stay relative or
>> at least to references /sites/mysite/en/config.
>>
>> I really tried a lot. Copy before creating the mysite, Create mysite
>> and then copy, ... export/import ...
>>
>>
>> Has anybody got an idea how to handle this?
>>
>>
>> Thanks a lot!
>> Ludwig
>>
>> --
>> Ludwig Hunecke
>> Kramerst. 18
>> D-38122 Braunschweig
>> Tel.: +49 (151) 14818950
>> GnuPG Key-ID: 8CEAB267
>>
>>
>>
>>
>> _______________________________________________
>> This mail is sent to you from the opencms-dev mailing list
>> To change your list options, or to unsubscribe from the list, please visit
>> http://lists.opencms.org/mailman/listinfo/opencms-dev
>>
>>
>
>
> ____________________________________________________________________
> Psssst! Schon vom neuen WEB.DE MultiMessenger gehört?
> Der kann`s mit allen: http://www.produkte.web.de/messenger/?did=3123
>
>
> _______________________________________________
> This mail is sent to you from the opencms-dev mailing list
> To change your list options, or to unsubscribe from the list, please visit
> http://lists.opencms.org/mailman/listinfo/opencms-dev
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://webmail.opencms.org/pipermail/opencms-dev/attachments/20090311/a2b08dc0/attachment.htm>
More information about the opencms-dev
mailing list