[opencms-dev] Copy site-content link problem
christian_steinert at web.de
Wed Mar 11 21:55:04 CET 2009
sorry - forget my response., I should have read your question more
Sadly, I have no good idea how to tackle this short of
- re-editing your copied configuration file to adjust any rewritten
- write a simple JSP that adjusts the paths in your copied files as needed.
I would probably go with the second approach
>> Hi all,
>> I've got a question regarding sites.
>> 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.
>> 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 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
> 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
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the opencms-dev