Theme language icon on page.tpl.php

Alpha5 - April 21, 2009 - 15:05
Project:Language Icons
Version:6.x-2.x-dev
Component:Miscellaneous
Category:support request
Priority:normal
Assigned:Unassigned
Status:active
Description

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?

#1

e-roula - May 28, 2009 - 21:46

Do 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?

#2

Drupal CMS - August 12, 2009 - 14:28

Our designer included the icons hard coded on our theme source as follows:

<a href="/en"><img src="lang_en.gif" alt="English" /></a>
<a href="/nl"><img src="lang_nl.gif" alt="Dutch" /></a>

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.

#3

roneill - August 18, 2009 - 15:46

Could 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

 
 

Drupal is a registered trademark of Dries Buytaert.