[TYPO3-english] Problem with sr_language_menu and realurl on multilingual website
David Bruchmann
typo3-en at bruchmann-web.de
Thu Jul 29 18:14:22 CEST 2010
----- Ursprüngliche Nachricht -----
Von: Björn Wendeler <bjorn.wendeler at burnabit.com>
Gesendet: Donnerstag, 29. Juli 2010 14:53:00
An: TYPO3 English <typo3-english at lists.typo3.org>
CC:
Betreff: Re: [TYPO3-english] Problem with sr_language_menu and
realurl on multilingual website
Hi Björn,
>
> Do you know if there's a way of forcing TYPO3 to always use the L-parameter
> in the URL, even if we are on the default language (L=0)?
>
In RealUrl you can do it with the key 'valueDefault':
$GLOBALS['TYPO3_CONF_VARS']['EXTCONF']['realurl']['_DEFAULT']['preVars'] =
array (
0 => array (
'GETvar' => 'L',
'valueMap' => array (
'en' => '1',
),
//'noMatch' => 'bypass',
'valueDefault' => 'de',
),
);
Greets,
David
More information about the TYPO3-english
mailing list