05. Configuring a language selection block

Last modified: February 9, 2008 - 08:41

Once the Localizer settings are complete, it is probably good to give visitors a way to easily switch between languages. With Localizer, this is done with a Language block.

Go to Administer > Blocks and enable the Language block (known as Select language prior to Localizer version 1.9) so that it will be visible to visitors. Configure the block as needed.

07Block

Language Block Horizontal Alignment

dalvarado - November 1, 2008 - 21:42

I wanted to know how to place the language block in one single line but I didn´t find tips from other users. However http://drupal.org/node/259609 gives us some clues in the topic.

Anyway, if you want to show the language block horizontally instead of the vertical alignment you can place this code at the bottom of your style sheet.

/**
* localizer horizontal alignment
*/
#block-localizer-0 {
margin: 1em 0 0em;
}
#block-localizer-0 *
{
display: inline;
color: #black;
}

Hope you like it!!!

Daniel A. Gaytan.
Posting from Monterrey Nuevo León México
My Drupal site: www.thewebmarketingservice.com

 
 

Drupal is a registered trademark of Dries Buytaert.