Page 1 of 1

Title bar problem

Posted: Tue May 22, 2007 12:41 pm
by blue
Hi,

I want to add something to check the title bar in cssmenu.tpl to make cmsms support multi language
For example, if the page "how-cmsms-works-english" will show english, "how-cmsms-works-chinese" will show chinese,
but I don't understand what TPL is, can anyone give me some suggestion to show multi language? Many thanks.

Re: Title bar problem

Posted: Tue May 22, 2007 12:58 pm
by RonnyK
Blue,

I don't really understand your problem. TPL stands for template as it is the template for the CSSmenu. The title shown is nothing more than the text that is stored in the content-page. The page-alias, is shown in the address-bar, the title and menu-name in the content-page hold the names that are displayed at that position, meaning, in the menu or as title for the content-page.

The template for cssmenu.tpl is nothing more/less than the way the menu works. So if you want multilanguage, you can have English as a main menu, also Chinese. Under those two you can have the different pages and names for the pages in that language.

Ronny

Re: Title bar problem

Posted: Tue May 22, 2007 1:35 pm
by blue
RonnyK wrote: Blue,

I don't really understand your problem. TPL stands for template as it is the template for the CSSmenu. The title shown is nothing more than the text that is stored in the content-page. The page-alias, is shown in the address-bar, the title and menu-name in the content-page hold the names that are displayed at that position, meaning, in the menu or as title for the content-page.

The template for cssmenu.tpl is nothing more/less than the way the menu works. So if you want multilanguage, you can have English as a main menu, also Chinese. Under those two you can have the different pages and names for the pages in that language.

Ronny
Actually I tried cmsms-mle-1.0.2-build4, but it looks no difference with original version (or any hints to activate the multi-language functions!?)

I want to make my page to show two languages, each language has its own menu bar and its own contents.

But I still struggling on how to do that, can you give me some ideas, thanks.

Re: Title bar problem

Posted: Tue May 22, 2007 1:43 pm
by RonnyK
Blue,

I think the idea behind MLE is, is that it needs to have the same structure in pages for all content-pages. If you check f.e. "Top simple navigation + left subnavigation + 1 column", you'll see that the horizontal menu holds the highest menu available, you could make these "English" and "Chinese" to be choosen. If pressed on one of the horizontal menu-buttons, the childs of that main-menu, are shown in the vertical menu, these could be the specific english OR chinese pages with the language-content and even different templates, as the template can be different per content-page.

Ronny