which language am i in?

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
User avatar
antiheld2000
Forum Members
Forum Members
Posts: 236
Joined: Thu Jan 31, 2008 9:23 am

which language am i in?

Post by antiheld2000 »

hi,

maybe i missed something but, i find it hard to see in which language i am. wether in frontend or in backend its hard to find out, which language i am in. the only thing in frontend is, that there is no link wrapped around the active img. where can i configure that there is added a additional class to those span element or the img?

in backend its the same problem. i cannot see, in which language i am in or which content i am editing right now.

is there something i have missed?!

greetings
antiheld
Wiedmann
Forum Members
Forum Members
Posts: 233
Joined: Wed Mar 26, 2008 1:49 am
Location: Stuttgart / Germany

Re: which language am i in?

Post by Wiedmann »

where can i configure that there is added a additional class to those span element or the img?

Code: Select all

{lang class='foo'}
User avatar
antiheld2000
Forum Members
Forum Members
Posts: 236
Joined: Thu Jan 31, 2008 9:23 am

Re: which language am i in?

Post by antiheld2000 »

seems not the best way, because i get this: so i dont know how to change the image. for an active state.
Wiedmann
Forum Members
Forum Members
Posts: 233
Joined: Wed Mar 26, 2008 1:49 am
Location: Stuttgart / Germany

Re: which language am i in?

Post by Wiedmann »

Code: Select all

span.foo{} /*active language */
a.foo{} /*inactive language */
User avatar
antiheld2000
Forum Members
Forum Members
Posts: 236
Joined: Thu Jan 31, 2008 9:23 am

Re: which language am i in?

Post by antiheld2000 »

you dont got the point. when english language is active and it has the same class like the active french language would, the buttons would look the same. do you understand?
Wiedmann
Forum Members
Forum Members
Posts: 233
Joined: Wed Mar 26, 2008 1:49 am
Location: Stuttgart / Germany

Re: which language am i in?

Post by Wiedmann »

Code: Select all

{lang class="langflags"}

Code: Select all

span.langflags{
border:2px solid red;
}
a.langflags{
border:0;
}
(now you have a red border around the active lang)
User avatar
antiheld2000
Forum Members
Forum Members
Posts: 236
Joined: Thu Jan 31, 2008 9:23 am

Re: which language am i in?

Post by antiheld2000 »

hm, forget it. there is no possibility  to reach my aim with the generated code and css. the generated code has to be something like this:




or this




classes don't work in this case. so, where can i edit the lang tag?!
Wiedmann
Forum Members
Forum Members
Posts: 233
Joined: Wed Mar 26, 2008 1:49 am
Location: Stuttgart / Germany

Re: which language am i in?

Post by Wiedmann »

there is no possibility  to reach my aim with the generated code and css.
Maybe you can explain, what you want do with the images? (Especially your first example is similar to the default).

where can i edit the lang tag?!
function.lang.php
User avatar
antiheld2000
Forum Members
Forum Members
Posts: 236
Joined: Thu Jan 31, 2008 9:23 am

Re: which language am i in?

Post by antiheld2000 »

i want to statest of every language image.
i.e. inactive =
active =
alby

Re: which language am i in?

Post by alby »

antiheld2000 wrote: i want to statest of every language image.
i.e. inactive =
active =
For this alternative you must hack plugins/function.lang.php

Alby
User avatar
antiheld2000
Forum Members
Forum Members
Posts: 236
Joined: Thu Jan 31, 2008 9:23 am

Re: which language am i in?

Post by antiheld2000 »

thanks, so i will do that.
Locked

Return to “[locked] CMSMS MLE fork”