WebsiteBaker Support (2.8.x) > Templates, Menus & Design
Multi languages, Multi menus at the same time? - SOLVED
ndh611:
Hey man, I understand your situation. At first I struggled with the container page too.
In my case, I did not use EN and FR container - like the tutorial did.
My solution:
All the pages are at the same level, but in Page Settings I set language for them and in General Settings I enable page language.
With such language settings, WB will automatically show menu that belongs to one language not the other one. You do not have to create container pages any more.
And for the switching, show direct link to your homepage in each language.
Site structure:
A (EN - menu 1)
B (EN - menu 2)
C (FR - menu 1)
D (FR - menu 2)
When you go to A, you will only see B, not C or D even they are at the same level because of language setting. You got me?
Hope this helps and excuse my terrible English ;)
Boudi:
NDH.....thnQ !
How simple can it be :)
This way you can create with big easy a multi language site on every template. The only disadvantages I noticed were that you have to manually code the choice of switching language in the template and in your admin automatically switches to the language in which you create the pages. Especially last thing is a big pity. :oops:
Anyway this solution is much easier.
What I did was:
English (container)
- page 1
- page 2
Deutsch (container)
- seite 1
- seite 2
Dutch (container)
- pagina 1
- pagina2
Than I changed the code in the template to:
--- Code: ---<?php show_menu(1,1,-1);?>
--- End code ---
to hide the language container.
ndh611:
Yeah u'r right, but there is a small thing:
I want page 1 in menu 1, page 2 in menu 2.
In the structure that we have container, multiple menus will not work.
Just give it a try and you will see why.
Congrats that you found the solution for your website ;)
spida:
--- Quote from: ndh611 on March 28, 2008, 04:28:23 AM ---http://coffeemugvn.com/tictac/
Please notice that the site is still in production stage :)
--- End quote ---
Hm, URL is not available anymore...?
ndh611:
http://tictacwatch.com - the old URL was for production stage!!!
Navigation
[0] Message Index
[#] Next page
[*] Previous page
Go to full version