Support » Plugin: qTranslate X » Language Switcher Menu – flag images in title

Viewing 15 replies - 1 through 15 (of 17 total)
  • Plugin Author John Clause

    (@johnclause)

    One of the new versions, may be the latest on GitHub https://github.com/qTranslate-Team/qtranslate-x, has additional options for menu manipulation, including hiding flags. Please, try the latest and let me know if you can achieve what you need.

    Hi, I was asking if it’s possible to remove url of flag image from title atribute of a tag. I have this: <a title="<img src="http://trunec.com/wp-content/plugins/qtranslate-x-master/flags/cz.png" alt="česky Flag"/>" data-toggle="dropdown" class="dropdown-toggle js-activated"><span class="glyphicon Language menu"></span> <img src="http://trunec.com/wp-content/plugins/qtranslate-x-master/flags/cz.png" alt="česky Flag"></a> inside menu list item.

    So it means, that you see url of flag image when you hover that item.
    Thanks

    Plugin Author Gunu

    (@grafcom)

    @philemon23,

    because it shows flag’s URL on mouse hover.

    on hover or in page source?

    Download the latest Beta version here and see if there is a difference.

    Hi, I have tried latest version from Git today.

    It shows it on hover because the url is on title atribute of tag. You can see it here http://www.trunec.com

    Another problem is, that if you click on flag of actual language in menu, you are redirected to 404.

    Thx for checking and reply.

    Plugin Author Gunu

    (@grafcom)

    @philemon23,

    visiting your site – on mouse hover I see on flags:

    trunec.com/de/ – trunec.com/cz/

    Switching to DE then on hover English Flag trunec.com/en/

    This is normal right?

    Languages normally be changed – delete cache and cookies for a clean approach of the website

    I deleted cache and tried in different browsers. Still same. URL of flag image is still in title attribute of <a> so it show it on hover. It is shown on screenshot here: http://tinypic.com/r/28jckut/8

    It’s strange that you see trunec.com/en/ on mouse hover, because mouse hover on link usualy shows title and there is img url in the title…

    Plugin Author Gunu

    (@grafcom)

    Wow, strange

    because mouse hover on link usualy shows title and there is img url in the title…

    I see the link (title) on hover.

    Yes, strange…. I must think about it…..

    Plugin Author Gunu

    (@grafcom)

    @philemon23,

    Did you use – Appearance – Menus – Language Switcher with standard settings = URL = #qtransLangSwLM#

    I put there #qtransLangSwLM# and it behaves same as you can see now on http://www.trunec.com 🙁

    Plugin Author Gunu

    (@grafcom)

    It is changed, now I see also on hover the url of the flag….

    How did you first do it? – Change back so I can see

    Plugin Author Gunu

    (@grafcom)

    have you done in the past made changes by yourself, manual applied code to some places for example used qtrans_ ?

    qtrans_ is changed to qtranxf_

    For me it was same before as it is now (showing the damn URL of flag). Before I had Appearance – Menus – Language Switcher = URL = #qtransLangSw?title=none so I’ve put it back now so you can test it.

    I don’t remember that I was making any manual changes in PHP. I’m not as experienced with PHP.

    Only thing is that I previously had normal qTranslate which is now disabled in Plugins.

    Plugin Author Gunu

    (@grafcom)

    Very strange…. also now I see URL of flags….

    Can you make a test copy of your site and give us access?

    Yes I will make a test copy with this guide http://codex.wordpress.org/Moving_WordPress and I will send you link and credentials then.

    Thank you for your assitance and effort!

    Plugin Author Gunu

    (@grafcom)

    [ redacted, support is not offered via email, IM or Skype ]

Viewing 15 replies - 1 through 15 (of 17 total)
  • The topic ‘Language Switcher Menu – flag images in title’ is closed to new replies.