Page 1 of 1
Lang tag with Text not Flag images
Posted: Tue Feb 09, 2010 10:08 pm
by Sepp
Hi everyone
I have a question: I don't want to show up the flag images when placing {lang} somewhere on the template.
Instead I like to have plain text appearing.
How do I do this? In the FAQ it is written to just ad text to the tag. But how do i have to writte this?
{lang text} {lang="text"} {lang_text} ??
nothing seems to work.
Thanks for any Help.
Re: Lang tag with Text not Flag images
Posted: Thu Feb 11, 2010 8:05 pm
by gdur
Just delete the flag images. These are stored in ../uploads/lang/*.png. Or if you want to keep them just rename the directory.
I ran into the opposite problem, forgot to install the flag images and got text instead of the expected flags.
Re: Lang tag with Text not Flag images
Posted: Fri Feb 12, 2010 11:47 am
by netzmelone
If you want to display text links just add this to your template
Re: Lang tag with Text not Flag images
Posted: Sun Feb 21, 2010 12:58 am
by Sepp
Yay.
Supercool.
Thanks a lot

Re: Lang tag with Text not Flag images
Posted: Thu Apr 29, 2010 3:35 pm
by requish
Sepp wrote:
Yay.
Supercool.
Thanks a lot
But to me not working... I try add to doctype like:
Code: Select all
<__html xmlns="http://www.w3.org/1999/xhtml" lang="{lang text=true}" >
or
Code: Select all
<__html xmlns="http://www.w3.org/1999/xhtml" lang="{lang text='true'}" >
or
Code: Select all
<__html xmlns="http://www.w3.org/1999/xhtml" lang="{lang text="true"}" >
Nothig happend but error of CMS...

Re: Lang tag with Text not Flag images
Posted: Thu Apr 29, 2010 8:10 pm
by alby
requish wrote:
Code: Select all
<__html xmlns="http://www.w3.org/1999/xhtml" lang="{lang text=true}" >
Nothig happend but error of CMS... ???
Do you want a language switch in doctype? ???
Have you read [
http://forum.cmsmadesimple.org/index.ph ... l#msg81152]tips #3[/url]?
You must add one language (current lang only) for any page...
Alby