WB Lingual: how to show GIF instead of PNG?

RonR

Just upgraded to 2.12.1.

Everything is working like a charm again!

Thanks for your help, Dietmer and Luise, keep up the good work!

Luisehahne

Remove the namespace in line 69 in file Lingual.php

original
        $oReg        = \bin\WbAdaptor::getInstance();

fixed
        $oReg        = \WbAdaptor::getInstance();

Dietmar

Note: Once the code has been generated, it is easy to debug. It's not a bug, it's a feature!

Luisehahne

Note: Once the code has been generated, it is easy to debug. It's not a bug, it's a feature!

RonR

Thank you for the quick reply!

I tried the update, but it is breaking my site.
As far as I can tell, the problem is in the file Lingual.php, after upload of that file my site is broken.
:-(

Luisehahne

Quote
Hier der Fix für den gif Fehler, wird auch im Gesamtpaket WB2.12.1 mit einfliessen

https://addon.websitebaker.org/pages/en/browse-add-ons.php?id=08607612

Dietmar
Note: Once the code has been generated, it is easy to debug. It's not a bug, it's a feature!

RonR

Just updated WebsiteBaker to 2.12, and some plugins as well.
Updated mod-Lingual to the new WBLingual.
After update, flags changed to png and I want to show GIF flags instead again.

The line in my template file
(<?php $iMultiLang = 0; if (function_exists('language_menu')) etc)
says gif, but not showing gif.

How should I change the code in MultiLingual/tpl/lang.html.twig to show gifs again?
Or change something else?

Any thoughts welcome!