Closed (fixed)
Project:
Mix and Match
Version:
6.x-1.6
Component:
User interface
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
28 Apr 2011 at 12:00 UTC
Updated:
11 Oct 2017 at 11:21 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #1
newnewuser commentedwaiting for answer too!!
Comment #2
ajross commentedYou will probably have to write the CSS to style this block yourself, if the Skinr options do not give you the layout and styling you need. I haven't really used I18 enough to know specifically what you are referring to, though. If you provide a screenshot or a link, I might be able to give you some tips.
Comment #3
derieppe commentedHi,
It's solve. I've done like that :
1° Add theses lines at the begining of bloc.tpl.php :
2° Copy bloc.tpl.php to locale.block.tpl.php
3° Modify the "print $block" line in locale.block.tpl.php
4° Add this (for example) in the CCS file.
Note : the "display: inline;" option made the li to be display horizontal.
5° Upload files on the theme directory.
6° Go to i18 parameters and keep (or not) the text in the link before or after the flag.
Hope this will help ...
Comment #4
derieppe commentedComment #5
ajross commentedComment #6
atpaust commentedI am not a programer but would like to locate my Language Switcher (block) into a horizontal bar by repeating the step 1 to step 6. But I was unable to find where the two files, bloc.tpl.php and locale.block.tpl.php, were.
I did not find the two files in the sites/all/themes/mix_and_match directory, nor by using the command line, locate myfilename. I also would like to know the location of the CSS file. Can anyone tell me where those files are?
Thank you in advance
Daniel
Comment #7
derieppe commentedHi,
The bloc.tpl.php is deliver with the mix_and_macth theme.
Should be in your : sites/all/themes/mix_and_match directory.
1° Copy this file to locale.block.tpl.php before editing.
2° Edit block.tpl.php
3° Edit locale.block.tpl.php
4° Edit CCS file.
CCS code as to be added in the local.css in the sites/all/themes/mix_and_match/css
(read the mix and macth readme note)
Samples in the zip file.
best regards
Comment #8
atpaust commentedThank Philippe, the files does work as it claimed. I apprieciated your help.
Regrads
Daniel
Comment #9
ossama.selim commentedsorry but i can't find locale.block.tpl.php , in the locale module there is no files with this name?!
i need to make on my web site the same thing, but with "Dreamy theme" can you help me.
plz help!!
Comment #10
derieppe commentedHi,
have a look at #3.
Solution is in the 2° action : Copy bloc.tpl.php to locale.block.tpl.php
Best regards
Comment #11
cesar.brod@gmail.com commentedGuys, take a look at this one here: http://drupal.org/node/1696588 - It worked as a charm for me!
Comment #12
ossama.selim commentedYou can also put this piece of cod in your locale.css in modules/locale:
#block-locale-language ul li
{
display: inline;
}
Comment #13
lucasvm commentedi was abble to do it like this:
on style.css of my theme
Comment #14
kanast commentedThis is not working in Drupal 8.
I think the 'language-switcher' in D8 is 'languageswitcher' correct me if I am wrong.
It seems much more complicated in D8.
Does anyone know how to do this in D8?