May be it not a issue on this module, but I need add language icon on my theme.
Is there some code so that I can add them to page.tpl.php to show language icon (icon in same line)?
Anyone can help me?
May be it not a issue on this module, but I need add language icon on my theme.
Is there some code so that I can add them to page.tpl.php to show language icon (icon in same line)?
Anyone can help me?
Comments
Comment #1
e-roula commentedDo you still have this issue? If you still do what is your problem exactly? Did you install the module? Are you not able to show the icons or do you want to change the way you are displaying them?
Comment #2
open social commentedOur designer included the icons hard coded on our theme source as follows:
How can I theme this so the links are not static, but variable language links? thanks!
Update: We solved this by using the Block that switches between languages and css for positioning.
Comment #3
roneill commentedCould you provide an example of how you did this? It would be very helpful. For example, have you managed to display the language switcher inline in say the header of a page?
Thanks in advance
Ryan
Comment #4
Freso commentedI would think calling
theme('languageicons_icon', $language, $title)should do the trick (note that the$titleis optional and will default to the language's native name if not given). Look at the functiontheme_languageicons_icon()for how it works and what it'll produce.