Early Bird Registration for DrupalCon Portland 2024 is open! Register by 23:59 PST on 31 March 2024, to get $100 off your ticket.
After I have upgraded to Language Switcher Dropdown 6.x-1.4, I see two icons instead of one in the dropdown. You can see the same at taatparya.com .
Comment | File | Size | Author |
---|---|---|---|
#4 | duplicate-icon-1111506-4.patch | 1.7 KB | manfer |
Comments
Comment #1
Freso CreditAttribution: Freso commentedActually, I just see the HTML for the image in the dropdown there. However, if the issue started after an upgrade to Language Switcher Dropdown, I'm fairly sure that'd be where the issue is to be found as well. I'd be happy to help in debugging and fixing though, but I won't be near my normal development computer until the end of April.
Comment #2
Mohammed J. RazemDuplicate of #1111544: HTML in dropdown with Language icons and no JavaScript.
See a temp solution in #1 comment.
Comment #3
Freso CreditAttribution: Freso commentedAnd as I noted in the other issue, it's not a solution that's going to last into Drupal 7. You can postpone this if you wish, but it will pop up again.
Comment #4
manfer CreditAttribution: manfer commentedThe solution without having to change any other module parameter is changing the line:
to:
You are adding the icons yourself (with javascript code for the msdropdown menu and with $language_icon when msdropdown is not used) so you don't need the icons included by language icons link hook in $lang_option['title']. It is enough to have the language name in native language. With that change you don't need anymore to force language icons 'Language switcher block' parameter to false. So lines:
can be deleted.
I attach a patch that includes a minor change in lang_dropdown.js too.
Comment #5
manfer CreditAttribution: manfer commentedComment #6
manfer CreditAttribution: manfer commentedUps, thought the issue was still 6.x-1.4 version and I was changing it to 6.x-1.5, I revert it back to 6.x-1.x-dev which was correct.
Comment #7
manfer CreditAttribution: manfer commented