[support] customizing language switcher in D7

Bert Van Kets mailing at vankets.com
Mon Apr 16 06:53:55 UTC 2012


I have implemented a fully function multi language support. Switching 
languages is done through the Language Switcher block. This generates an 
unnumbered list (<ul>) tag. Using CSS one can convert this to a 
horizontal list, but then you get a simple horizontal enumeration of the 
different available languages. No visual separation between the 
different items. I would like to add a separator between the different 
language links by changing the html using theming.

What theme function generates the Language Switcher block content?
I assume I need to implement this in the template.tpl.php file.

The site I am working on is perpetuum.be

I hope this clarifies my question a bit.

Bert

On 15/04/2012 21:42, Gerald Klein wrote:
> I am not sure I understand but have you tried html encoding?
>
> On Sun, Apr 15, 2012 at 2:38 PM, Bert Van Kets <mailing at vankets.com 
> <mailto:mailing at vankets.com>> wrote:
>
>     Hi all,
>
>     I am building a multi language site in Drupal 7 and use the regular
>     language switching block. Positioning the block and language links is
>     not a problem.
>     I can't find how to add a character between the different languages in
>     D7. I have found D6 samples. but none that work in D7. :-(
>
>     How can I add a | character between the language switching links?
>
>     Thanks.
>
>     Bert
>
>     P.S. I am using a Zen based subtheme
>     --
>     [ Drupal support list | http://lists.drupal.org/ ]
>
>
>
>
> -- 
>
> Gerald Klein DBA
>
> ContactMe at geraldklein.com <mailto:ContactMe at geraldklein.com>
>
> www.geraldklein.com <http://geraldklein.com/>
>
> jk at zognet.com <mailto:jk at zognet.com>
>
> 708-599-0352
>
>
> Linux registered user #548580
>
>
>
>
>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.drupal.org/pipermail/support/attachments/20120416/3388ee0f/attachment.html 


More information about the support mailing list