WebsiteBaker Logo
  • *
  • Templates
  • Help
  • Add-ons
  • Download
  • Home
*
Welcome, Guest. Please login or register.

Login with username, password and session length
 

News


WebsiteBaker 2.13.6 is now available!


Will it continue with WB? It goes on! | Geht es mit WB weiter? Es geht weiter!
https://forum.websitebaker.org/index.php/topic,32340.msg226702.html#msg226702


The forum email address board@websitebaker.org is working again
https://forum.websitebaker.org/index.php/topic,32358.0.html


R.I.P Dietmar (luisehahne) and thank you for all your valuable work for WB
https://forum.websitebaker.org/index.php/topic,32355.0.html


* Support WebsiteBaker


  • Home
  • Help
  • Search
  • Login
  • Register

  • WebsiteBaker Community Forum »
  • WebsiteBaker Support (2.13.x) »
  • Modules »
  • Module WebsiteBaker_Lingual_v2_0_7 - Droplet??
  • Print
Pages: [1]   Go Down

Author Topic: Module WebsiteBaker_Lingual_v2_0_7 - Droplet??  (Read 7607 times)

Offline CodeALot

  • Posts: 579
  • Gender: Male
Module WebsiteBaker_Lingual_v2_0_7 - Droplet??
« on: April 17, 2023, 10:39:41 AM »
From the readme-file:

"The easiest way is the combination with Droplet [[iMultiLingual]]"

Great. Would have been nice if that droplet was included. :-) Does anyone know what droplet this would be?
Logged

Offline sternchen8875

  • Global Moderator
  • *****
  • Posts: 601
Re: Module WebsiteBaker_Lingual_v2_0_7 - Droplet??
« Reply #1 on: April 17, 2023, 11:28:05 AM »
iMultiLingual is a older Droplet to display the used language flags as small menu
Logged

Offline CodeALot

  • Posts: 579
  • Gender: Male
Re: Module WebsiteBaker_Lingual_v2_0_7 - Droplet??
« Reply #2 on: April 17, 2023, 12:05:01 PM »
Thank you. It's still not working though, but I'll try to find the solution.
(Biggest problem is the notorious documentation for the module WebsiteBaker Lingual v2.0.7, written in broken English and with incomplete examples.)
Logged

Offline CodeALot

  • Posts: 579
  • Gender: Male
Re: Module WebsiteBaker_Lingual_v2_0_7 - Droplet??
« Reply #3 on: May 05, 2023, 11:50:51 AM »
Does ANYONE have a working example? I used to work with the old Multilang-module 'mod_multilingual', and I'm upgrading an older WB.
The language menu does not appear though. Not with the old way, not with the new module.

If someone could post the PHP-code from their template where the new WebsiteBaker_Lingua l_v2_0_7 is working, I would be a happy man :-)
Logged

Offline sternchen8875

  • Global Moderator
  • *****
  • Posts: 601
Re: Module WebsiteBaker_Lingual_v2_0_7 - Droplet??
« Reply #4 on: May 05, 2023, 02:09:51 PM »
What you need, is a second language tree and at minimum one public page for every language.
In my case, i've pages mit type=menu-link for every used language, for example EN, FR, DE etc
and as childs from this pages minimum one public page in every tree.

i use this code for a flag menu. This Flag menu is only visible, if you have more than one language tree's in the project

Code: [Select]
<?php
$iMultiLang 
= 0;
if(
function_exists(&#39;language_menu&#39;)){ ?>

    <div id="multilang">
        <?php language_menu(&#39;png&#39;);
              
$iMultiLang = 1; ?>

    </div>
    <?php
    
}
?>

It is only the menu. I'm sure, you need there somethings around this menu like a div etv.

be sure, that you've the option "Multilingualism" activated (in advanced WB-Options -> General Settings)
and (very important) have everytime a look to the selected page languages

Logged

  • Print
Pages: [1]   Go Up
  • WebsiteBaker Community Forum »
  • WebsiteBaker Support (2.13.x) »
  • Modules »
  • Module WebsiteBaker_Lingual_v2_0_7 - Droplet??
 

  • SMF 2.0.19 | SMF © 2017, Simple Machines
  • XHTML
  • RSS
  • WAP2