WebsiteBaker Support (2.11.x) > Modules
WB Lingual: how to show GIF instead of PNG?
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!
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
--- End quote ---
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:
send you a pm
Dietmar
Luisehahne:
Remove the namespace in line 69 in file Lingual.php
original
$oReg = \bin\WbAdaptor::getInstance();
fixed
$oReg = \WbAdaptor::getInstance();
Dietmar
Navigation
[0] Message Index
[#] Next page
Go to full version