Language Switcher flag+text in dropdown mode Topic is solved
Moderator: General Support Moderators
Forum rules
Forum Rules
Absolute Beginner's Guide to Joomla! <-- please read before posting, this means YOU.
Forum Post Assistant - If you are serious about wanting help, you will use this tool to help you post.
Forum Rules
Absolute Beginner's Guide to Joomla! <-- please read before posting, this means YOU.
Forum Post Assistant - If you are serious about wanting help, you will use this tool to help you post.
-
- Joomla! Apprentice
- Posts: 7
- Joined: Mon Mar 03, 2014 5:50 pm
Language Switcher flag+text in dropdown mode
Hi, how make flag+text in dropdown mode?
- Per Yngve Berg
- Joomla! Master
- Posts: 31084
- Joined: Mon Oct 27, 2008 9:27 pm
- Location: Romerike, Norway
Re: Language Switcher flag+text in dropdown mode
Mod. Note: Relocated the topic to the Language Forum.
- imanickam
- Joomla! Master
- Posts: 28219
- Joined: Wed Aug 13, 2008 2:57 am
- Location: Chennai, India
Re: Language Switcher flag+text in dropdown mode
Please find below the settings in the module Language Switcher and how the module is displayed in the front-end.
Note:
This has been tested using the Protostar template.
Note:
This has been tested using the Protostar template.
You do not have the required permissions to view the files attached to this post.
Ilagnayeru (MIG) Manickam | இளஞாயிறு மாணிக்கம்
Joomla! - Global Moderators Team | Joomla! Core - Tamil (தமிழ்) Translation Team Coordinator
Former Joomla! Translations Coordination Team Lead
Eegan - Support the poor and underprivileged
Joomla! - Global Moderators Team | Joomla! Core - Tamil (தமிழ்) Translation Team Coordinator
Former Joomla! Translations Coordination Team Lead
Eegan - Support the poor and underprivileged
- Per Yngve Berg
- Joomla! Master
- Posts: 31084
- Joined: Mon Oct 27, 2008 9:27 pm
- Location: Romerike, Norway
Re: Language Switcher flag+text in dropdown mode
@imanickam: This is the J2.5 forum.
- imanickam
- Joomla! Master
- Posts: 28219
- Joined: Wed Aug 13, 2008 2:57 am
- Location: Chennai, India
Re: Language Switcher flag+text in dropdown mode
After answering the question, I noticed that you have posted this question in the forum "Language - Joomla! 2.5".
The post I made is relevant for Joomla! 3.9, especially for v3.9.15.
If you want this solution in Joomla! 2.5 you may have to study the code in Joomla! 3.9.15.
Note:
Joomla! 2.5 is no longer supported. You should plan to migrate to Joomla! 3.9.15. Of course, test the migration in a test environment before migrating the production site.
The post I made is relevant for Joomla! 3.9, especially for v3.9.15.
If you want this solution in Joomla! 2.5 you may have to study the code in Joomla! 3.9.15.
Note:
Joomla! 2.5 is no longer supported. You should plan to migrate to Joomla! 3.9.15. Of course, test the migration in a test environment before migrating the production site.
Ilagnayeru (MIG) Manickam | இளஞாயிறு மாணிக்கம்
Joomla! - Global Moderators Team | Joomla! Core - Tamil (தமிழ்) Translation Team Coordinator
Former Joomla! Translations Coordination Team Lead
Eegan - Support the poor and underprivileged
Joomla! - Global Moderators Team | Joomla! Core - Tamil (தமிழ்) Translation Team Coordinator
Former Joomla! Translations Coordination Team Lead
Eegan - Support the poor and underprivileged
-
- Joomla! Apprentice
- Posts: 7
- Joined: Mon Mar 03, 2014 5:50 pm
Re: Language Switcher flag+text in dropdown mode
Thanks for the idea, but it seems to me there is a completely different code. I have not worked with Joomla 3+ and I don’t even know where to look for such code. I downloaded the archive and could not find this module. Maybe tell me where to look for it?imanickam wrote: ↑Sat Feb 29, 2020 4:38 pm After answering the question, I noticed that you have posted this question in the forum "Language - Joomla! 2.5".
The post I made is relevant for Joomla! 3.9, especially for v3.9.15.
If you want this solution in Joomla! 2.5 you may have to study the code in Joomla! 3.9.15.
Note:
Joomla! 2.5 is no longer supported. You should plan to migrate to Joomla! 3.9.15. Of course, test the migration in a test environment before migrating the production site.
-
- Joomla! Apprentice
- Posts: 7
- Joined: Mon Mar 03, 2014 5:50 pm
Re: Language Switcher flag+text in dropdown mode
@imanickam
Thank you very much, I just replaced the module php file version 2.5 file with 3.9 and it worked
modules / mod_languages / tmpl / default.php
Thank you very much, I just replaced the module php file version 2.5 file with 3.9 and it worked
modules / mod_languages / tmpl / default.php
- imanickam
- Joomla! Master
- Posts: 28219
- Joined: Wed Aug 13, 2008 2:57 am
- Location: Chennai, India
Re: Language Switcher flag+text in dropdown mode
Glad to know that the code from Joomla 3 worked. However, instead of the replacing the core file, best way would have been to use the the HTML Override technique as documented at https://docs.joomla.org/How_to_override ... omla!_core and https://docs.joomla.org/Understanding_Output_Overrides.
Ilagnayeru (MIG) Manickam | இளஞாயிறு மாணிக்கம்
Joomla! - Global Moderators Team | Joomla! Core - Tamil (தமிழ்) Translation Team Coordinator
Former Joomla! Translations Coordination Team Lead
Eegan - Support the poor and underprivileged
Joomla! - Global Moderators Team | Joomla! Core - Tamil (தமிழ்) Translation Team Coordinator
Former Joomla! Translations Coordination Team Lead
Eegan - Support the poor and underprivileged