Lang tag with Text not Flag images

This is a FORK of the CMS Made Simple project and is not oficially supported in any way by the CMS Made Simple development team.
Locked
Sepp
Forum Members
Forum Members
Posts: 38
Joined: Thu Jan 28, 2010 2:43 pm
Location: Bern, Switzerland

Lang tag with Text not Flag images

Post 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.
gdur
Forum Members
Forum Members
Posts: 142
Joined: Sun Jan 10, 2010 10:59 am

Re: Lang tag with Text not Flag images

Post 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.
netzmelone
New Member
New Member
Posts: 5
Joined: Thu Dec 03, 2009 7:01 pm

Re: Lang tag with Text not Flag images

Post by netzmelone »

If you want to display text links just add this to your template

Code: Select all

{lang text="true"}
Sepp
Forum Members
Forum Members
Posts: 38
Joined: Thu Jan 28, 2010 2:43 pm
Location: Bern, Switzerland

Re: Lang tag with Text not Flag images

Post by Sepp »

Yay.

Supercool.


Thanks a lot  :)
User avatar
requish
Forum Members
Forum Members
Posts: 183
Joined: Sat Jan 24, 2009 3:12 pm

Re: Lang tag with Text not Flag images

Post 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...  ???
CMS Made Simple! Best CMS! :)
alby

Re: Lang tag with Text not Flag images

Post 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
Locked

Return to “[locked] CMSMS MLE fork”