[TYPO3-english] Realurl - language problem
Cecilie Andersen
cecilie007007 at gmail.com
Wed Dec 15 20:14:13 CET 2010
Hi,
Thanks for the help :)
Now I have entered your prevars you wrote in the realurl conf and in my TS I
have
config.linkVars = L
[globalVar = GP:L = 0]
config.sys_language_uid = 0
config.language = dk
config.locale_all = dk_DK
[end]
and
> 'preVars' =>
> array (
> 0 =>
> array (
> 'GETvar' => 'L',
> 'valueMap' =>
> array (
> 'en' => '2',
> 'pl' => '3',
> 'cz' => '4',
> 'sk' => '5',
> 'ro' => '6',
> 'hu' => '7',
> 'ru' => '8',
> 'nl' => '9',
> ),
> 'noMatch' => 'bypass',
> ),
> ),
>
When I now enter my site in the browser it look like
http://www.mysite/66/?L=0
And I hope to get http://www.mysite/home.html
regards
Cecilie
"Florian Schaeffer" <florian.schaeffer at mercoline.de> skrev i meddelelsen
news:mailman.1.1292399121.11472.typo3-english at lists.typo3.org...
> Good morning,
>
>> exact same realurl config, but it does not work. The only difference is
>> that my page where it is not working I have installed tt_news
>
> There is an error in tt_news 3.0.1, one table is missing and some columns
> are missing also. Please check the error log, using the method described
> in
> http://dmitry-dulepov.com/article/blank-empty-page-in-typo3.html
> and see whether this could be your problem ...
>
>> [globalVar = GP:L = 0]
>> config.sys_language_uid = 0
>> config.language = dk
>> config.locale_all = dk_DK
>
> [snip]
>> config.language = dk
>> config.locale_all = dk_DK
>> config.baseURL = http://www.myesite.org/
>> config.tx_realurl_enable = 1
>
> [snip]
>
>> 'preVars' => array (
>> '0' => array (
>> 'GETvar' => 'no_cache',
>> 'valueMap' => array (
>> 'nc' => '1',
>> ),
>> 'noMatch' => 'bypass'
>> ),
>> '1' => array (
>> 'GETvar' => 'L',
>> 'valueMap' => array (
>> 'dk' => '0',
>> 'en' => '1',
>> ),
>> 'noMatch' => 'bypass',
>> ),
>> '2' => array (
>> 'GETvar' => 'lang',
>> 'valueMap' => array (
>> 'de' => 'de',
>> 'en' => 'en',
>> ),
>> 'noMatch' => 'bypass',
>> ),
> So what exactly are you trying to do ?
>
> You tell the system that the default language is danish in your TS and
> also the global L=0 should be treated as danish
>
> Then in your realUrl-config you're telling the system that dk = 0 and some
> lines later that the first language is de ???
>
> For me it is only necessary to have this preVars-Setup
>
> 'preVars' =>
> array (
> 0 =>
> array (
> 'GETvar' => 'L',
> 'valueMap' =>
> array (
> 'en' => '2',
> 'pl' => '3',
> 'cz' => '4',
> 'sk' => '5',
> 'ro' => '6',
> 'hu' => '7',
> 'ru' => '8',
> 'nl' => '9',
> ),
> 'noMatch' => 'bypass',
> ),
> ),
>
> so to me it seems, that you preVars => 2 is useless and that the ones that
> is used is the preVars => 1 in which you configured danish to be the
> default language ....
>
> HTH
> Florian
>
>
More information about the TYPO3-english
mailing list