WebsiteBaker Support (2.8.x) > Templates, Menus & Design

Multilingual menu

<< < (2/3) > >>

Waldschwein:
Hello!

The "best" thing is the following:

1.) Upgrade your site to the latest SVN version from WB. (http://project.websitebaker2.org/browser/branches/2.8.x bottom "Download as zip archive" -> access the "upgrade-script.php", follow the instructions, then delete it).
2.) Download from http://WebsiteBaker-next.de/wb/pages/de/downloads/tools-downloads.php the "Multilingual Tool Version 1.1 alpha" and install it
3.) Make sure your site-languages are turned on and are setted correctly.
4.) In your template (where you want to place the multilingual codes) place

--- Code: ---<div class="langmenu">
   <?php  if(function_exists(&#39;language_menu&#39;)) { language_menu(); }  ?>
</div>

--- End code ---
5.) Access your page-settings (there is a new field) and set all pages to a page-code from the dropdown-list. So EN/NL/DE/FR translations to your "primary site". That means, you set here for EN/NL/DE/FR sites all the page-code list to the NL site (if it's your primar language).
6.) You should have in the frontend on every single site the language flags (they can be changed only in the Core files of the mod_multilingual yet) and there is a redirection to the regarding "translation" when clicking on the flag.

Please note: It's only possible with the SVN version, not with WB 2.8.0! There is a similar mod for this, but you need to change some Corefiles of WB for this...

Yours Michael

Kolb:
Thanks for your reply, appreciate it!

But what is the SVN version? What am I doing wrong, I just followed the instructions posted in the knowledge base.
It shouldn't be so hard to include, so I am guessing I am doing something wrong.

Waldschwein:
Hello!

Hmm, directly accessing the SVN is possible only with a SVN program installed on your PC (for Windows TortoiseSVN / http://svn.websitebaker2.org/branches/2.8.x/wb). But that is not necessary: You can download the version from http://project.websitebaker2.org/browser/branches/2.8.x -> Download in other formats: Zip Archive

Yours Michael

Luisehahne:
All you need ist here, but in moment it's only in german. You find the last SVN from today and the multilinigual V1.2 alpha

http://WebsiteBaker-next.de/wb/pages/de/startseite/aenderungen-wb-2.8.1.php

Dietmar

crnogorac081:
Lets simplify it :)

Try this code [updated post]:

--- Code: ---<?php show_menu2(0, SM2_ROOT, SM2_START, SM2_ALL, &#39; | [a][menu_title]</a>&#39;, &#39;&#39;, &#39;&#39;, &#39;&#39;, &#39;[a][menu_title]</a>&#39;);  ?>


--- End code ---

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version