Page 1 of 1

how can I show text instead of flags to switch language

Posted: Sun Jan 27, 2008 3:14 pm
by slooodge
Hi,
first of all thanks for this great MLE - it works very well!!!

Is it possible to use a textlink (like English, German, etc.) instead of images to change the language in the frontend?
I could of course simply delete the images and use the alt text but there is probably a nicer way???

THANKS; Hannes 

how can I show text instead of flags to switch language

Posted: Sun Jan 27, 2008 3:44 pm
by slooodge
Oooops, sorry I just found a thread that is dealing with exactly this topic...

Unfortunately the method described (defining text in config_lang.php) doesn't work. But when I replace the

      'flag'=>'',
  'flag'=>'E',

it shows a normal textlink.

Hannes

Re: how can I show text instead of flags to switch language

Posted: Sun Jan 27, 2008 6:24 pm
by alby
slooodge wrote: Oooops, sorry I just found a thread that is dealing with exactly this topic...

Unfortunately the method described (defining text in config_lang.php) doesn't work. But when I replace the

      'flag'=>'',
  'flag'=>'E',

it shows a normal textlink.
I have split your posts for clean howto topic.
Yes, with 'flag'=>'E', display this text but it's bad  (you have this in admin also ::) )

Defining 'text' in config_lang.php (view config_lang.php.alby.label) and in lang tag use text param: {lang text=true}

Alby

Re: how can I show text instead of flags to switch language

Posted: Sun Jan 27, 2008 9:55 pm
by alby
slooodge wrote: Hi Alby,
thanks for the quick response.
I have changed it to the correct way and it works fine!

One last problem...
Is it possible to get rid of the space between the textlinks. I have tried everything possible with css but the space remains.

THANKS for all your work!

Best, Hannes
;D Stop jump  ;D

Read my answer this

Alby