[opencms-dev] Navigation for 2 multilanguage sites

Enrico Ballarin Dolfin eballarin at innopark.ch
Fri May 6 17:29:00 CEST 2005


Hi

I need to redesign two multilanguage sites with OpenCms and I'm having a few 
problems with the left navigation of Templateone.

Let say I have created two site modules and following directories and files 
(the french files are sibling of the corresponding english ones and the 'en' 
and 'fr' folders have the corresponding locale property set):

/site/default/site1/en/index.html
/site/default/site1/en/folder1/page1.html
/site/default/site1/en/folder1/page2.html
/site/default/site1/fr/index.html
/site/default/site1/fr/folder1/page1.html
/site/default/site1/fr/folder1/page2.html

/site/default/site2/en/index.html
/site/default/site2/en/folder1/page1.html
/site/default/site2/en/folder1/page2.html
/site/default/site2/fr/index.html
/site/default/site2/fr/folder1/page1.html
/site/default/site2/fr/folder1/page2.html

Browsing at http://localhost:8080/opencms/opencms/site1/en/index.html I would 
like to have a left navigation like this (site1):

Home
Folder1-->Page1
            -->Page2

Configuring my /site1/_configuration/configuration_common file "Start folder 
top navigation: /site1/en/", I can get the desired behavior for the top 
navigation (except for HOME pointing to 
http://localhost:8080/opencms/opencms/ instead of  
http://localhost:8080/opencms/opencms/site1/en/index.html ):

HOME FOLDER1
                     |--> Page1
                     |--> Page2

For the left navigation, if I unset the navigation checkbox for the the 
language folder property, I get following:

Site1->Index
Site1->Folder1

This because the max level for the left navigation is set to two and this 
seems also to be including not displayed folders in the path.

How can I solve the problem?

Basically at the moment we need to have the offline modules for both sites 
available at the same time for developing/content-editing. The saved modules 
can then be exported, installed and published on an other server running also 
opencms. May be later the offline and online could be installed on the same 
production server.

Thanks in advance,
Enrico



More information about the opencms-dev mailing list