[opencms] Re: [opencms-dev] Locale
Bernd Wolfsegger
bw at code-create.com
Tue Mar 15 15:05:16 CET 2005
On Tuesday 15 March 2005 14:26, Jorge González wrote:
> >One problem with this approach is, that if you add new content documents,
>
> you
>
> >have to create siblings in each language folder for these new documents.
> >And that is prone to errors.
>
> You only have to define one sibiling for each language, pointing to the
> root content folder.
As I stated, this is not possible in my case, because of my opencms-system.xml
settings and virtual hosting:
<sites>
<workplace-server>http://opencms.mysite.com</workplace-server>
<default-uri>/sites/default/</default-uri>
<site server="http://opencms.mysite.com" uri="/sites/default/"/>
<site server="http://www.mysite.com" uri="/sites/mysite.com/"/>
<site server="http://www.mysite.de" uri="/sites/mysite.de/"/>
</sites>
So the root is always "/", because when calling http://www.mysite.de from
outside the system I am below /sites/mysite.de/ and I can not access
"/sites/mysite/" via a literal URL in the code. But I need to, for telling
the Navigation object were to start. Now, when I have just a sibling of the
index.xml below /sites/mysite.de this works fine for the index.html, but no
navigation will show up, because the folder where am I is /sites/mysite.de/
and there are no more documents and folders.
Or is there anything like a sibling for a folder ?
Have nothing found like that.
>
> /en/sibiling_to_root_folder
> /es/sibiling_to_root_folder
> /de/sibiling_to_root_folder
>
> /root_content/content1/dog.xml
>
>
> I remember there is a session property, to define default language
> navigation. I will search the mailing list ...
--
Code Create
{ information technology } & /^ architecture ^\
[ Bernd Wolfsegger
[ Sun Certified Programmer for Java(TM) 2 Platform
[ Dipl.-Ing. Architekt
[ bw at code-create.de
[ http://www.code-create.de/
[ bw at code-create.com
[ http://www.code-create.com/
[ Office in Germany
[ Lohmeyerstrasse 13
[ 10587 Berlin
[ +49 (0)30 26555788
[ Office in Kenya
[ Nairobi
[ +254 (0)720 481053
More information about the opencms-dev
mailing list