[opencms-dev] Copy site-content link problem

Ludwig Hunecke ludwig.hunecke at googlemail.com
Wed Mar 11 18:33:05 CET 2009


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






More information about the opencms-dev mailing list