CP FORM --> Länder-Ausklappmenü / select country menu

If you have created additional (non official) documentation or tutorials or something like that please post this here
Post Reply
User avatar
Jensensen
Posts: 3000
Joined: Tue 17. Oct 2006, 21:11
Location: auf der mlauer

CP FORM --> Länder-Ausklappmenü / select country menu

Post by Jensensen »

Ever noticed that the values of the option select field 'Länder-Ausklappmenü' / 'select country menu' are (default) displayed in the language that was set in the CONFIG:

Code: Select all

$phpwcms['DOCTYPE_LANG'] = "whatever_lang";
That's why the question was: How-to get the correct language of
--> select country menu
--> Länder-Ausklappmenü
in CP form / formular?

Answer: Try to set--> value / Wert
for example to

Code: Select all

lang = EN
first = - select language -
default = DK
Image

Now you can get the Länder-Ausklappmenü / select country menu
--> associated with the language of the page BUT
--> independent from the language setting of the CONFIG:

Very nice, isn't it?

Thanks to OG for explanation: http://code.google.com/p/phpwcms/issues/detail?id=147
{so_much} | Knick-Knack. | GitHub
Umlaute im URL sind meistens immer Kacke.
User avatar
update
Moderator
Posts: 6455
Joined: Mon 10. Jan 2005, 17:29
Location: germany / outdoor

Re: CP FORM --> Länder-Ausklappmenü / select country menu

Post by update »

Very cool finding! :D
It's mostly all about maintaining two or three customer's sites Still supporter for the band Mykket Morton. Visit Mykket Morton on FB. Listen Mykket Morton and live videos on youtube.
Now building a venue for young artists to get wet on stage, rehearsal rooms, a studio, a guitar shop - yes I'm going to build some guitars.
User avatar
juergen
Moderator
Posts: 4556
Joined: Mon 10. Jan 2005, 18:10
Location: Weinheim
Contact:

Re: CP FORM --> Länder-Ausklappmenü / select country menu

Post by juergen »

Multi Gurm !
Post Reply