When in dropdown mode, the language switcher does NOT display the language flags (see attached screen shot). Please, advise.
Language Flag does NOT show on Dropdown Mode
bilal-abdeen
Hi
I disabled the module override from template folder.
Now you can see the language flag : http://prntscr.com/mbujza
Regards
- Edited
Thank you.
1. I can see the flag. However, the dropdown stopped working. If you click on it, it does not show the list of languages!
2. I am not sure what you exactly did. This installation is made only for your use. I need to fix my production environment. I need to know what you did. Please, let me know the complete path of the files, which you changed. Did you change the name of this file (/templates/ja_magz/html/mod_languages/default1.php)?
Thanks...
bilal-abdeen
Hi
Kindly check it now, its same like in demo http://prntscr.com/mbw78v
You need to apply the module setting as showing here: http://prntscr.com/mbw7b6
Regards
I am sorry. This does NOT answer my question.
Are you saying that the template JA Magz has a bug, because of which it does NOT support Dropdown with flags, which is built-in functionality (available in the built-in template Protostar)?
bilal-abdeen
HI
The template has build in module position for special style, that all, there is no bug, if you want to use it on same position and want to remove the special style, i see possible option to customize the module position for you.
Its not bug its special style of the template and you can see its working when you hover on it,
Regards
- Edited
It is a bug. Changing the backend option (Use flag for for Dropdown) should have an effect on the frontend. It does make a difference on other templates. On JA Magz, it does not make a difference. This template failed to implement this option.
My requirement is to have a simple dropdown with a flag next to each language (see attached screen capture.)
bilal-abdeen
Hi
Each template has its own style to display modules it does not mean every template has a bug.
I need some time to check and apply changes if you want the same view.
I will update you by monday on it.
Regards
Any update on this?
bilal-abdeen
Hi
This position in the main nav and use the hover style.
if you want to show the other template style add this code in custom.css file
.mod-languages ul li a {
font-size: 10px;
text-indent: 2em;
}
publish the module on any position and it show the name with flag.
If you want to show the flags like in demo site with name, kindly rename the default1.php to default from /templates/ja_magz/html/mod_languages/
Regards
- Edited
I am sorry, Pankaj. I really do not understand what you are trying to say. Can you, please, articulate what I need to do in concise steps. Following is an example of what I am expecting.
A. To show a dropdown menu for each language with a flag next to the language name (as demonstrated in the attached screen shot), follow the following steps.
- Add the following code to the custom.css file:
.aaaa bbbb {
cccc: ddd;
}
- Make the following changes to the settings of the language switcher module:
2a. hhhhhhh
2b. fffffffff
B. To show a dropdown menu for each language with only a flag for each language, follow the following steps.
- Add the following code to the custom.css file:
.eeee fff {
gggg: hhhh;
}
- Make the following changes to the settings of the language switcher module:
2a. aaa
2b. fff
Thank you...
bilal-abdeen
Hi
i do not understand last reply as its showing wrongs code that i have not shared.
If you want to show the names of language
you need to add the code i shared in custom.css file first line because your custom.css file has many errors, if you will add it at the end it will not work.
You need to publish the module on any other module position to get the drop down becuase the languageswitcher module position in template is designed to show the module like in demo.
For the time you can see it added the code and published module on same position to show the language name : http://prntscr.com/mfjcqj
If you do not want this view, you can create a new language module and publish it on any other module position in template.
Regards