No subject
Fri Mar 12 13:03:17 CET 2010
t
are given out to the frontend (if realurl is enabled), are coming from
realurl (correct me, if I might be wrong!). Maybe this is a case/question
for Dmitry Dulepov? Dmitry where are you? Probably on your very deserved
vacation? ;)
[SNIP]
realurl_conf.php (the config was created using the autoconf-feature from
realurl and then extended manually):
[COPY]
$TYPO3_CONF_VARS['EXTCONF']['realurl'] =3D array(
'_DEFAULT' =3D> array(
'init' =3D> array(
'enableCHashCache' =3D> '1',
'appendMissingSlash' =3D> 'ifNotFile,redirect[301]',
'enableUrlDecodeCache' =3D> '1',
'enableUrlEncodeCache' =3D> '1',
'postVarSet_failureMode' =3D> '',
),
'redirects' =3D> array(
),
'redirects_regex' =3D> array(
),
'preVars' =3D> array(
array(
'GETvar' =3D> 'L',
'valueMap' =3D> array(
'de' =3D> '0',
'en' =3D> '1',
),
'valueDescription' =3D> array(
'de' =3D> 'Deutsch',
'en' =3D> 'English',
),
'valueDefault' =3D> 'de',
#'noMatch' =3D> 'null',
),
array(
'GETvar' =3D> 'no_cache',
'valueMap' =3D> array(
'nc' =3D> '1',
),
'noMatch' =3D> 'bypass',
),
array( // add complete type array
'GETvar' =3D> 'type',
'valueMap' =3D> array (
'validation' =3D> '3131'
),
'noMatch' =3D> 'bypass'
),
),
'pagePath' =3D> array(
'type' =3D> 'user',
'userFunc' =3D>
'EXT:realurl/class.tx_realurl_advanced.php:&tx_realurl_advanced->main',
'spaceCharacter' =3D> '-',
'languageGetVar' =3D> 'L',
'expireDays' =3D> '7',
'rootpage_id' =3D> '1',
'firstHitPathCache' =3D> '1',
),
'fixedPostVars' =3D> array(
),
'postVarSets' =3D> array(
'_DEFAULT' =3D> array(
'archive' =3D> array(
'0' =3D> array(
'GETvar' =3D> 'tx_ttnews[year]',
),
'1' =3D> array(
'GETvar' =3D> 'tx_ttnews[month]',
'valueMap' =3D> array(
'january' =3D> '01',
'february' =3D> '02',
'march' =3D> '03',
'april' =3D> '04',
'may' =3D> '05',
'june' =3D> '06',
'july' =3D> '07',
'august' =3D> '08',
'september' =3D> '09',
'october' =3D> '10',
'november' =3D> '11',
'december' =3D> '12',
),
),
),
'browse' =3D> array(
'0' =3D> array(
'GETvar' =3D> 'tx_ttnews[pointer]',
),
),
'select_category' =3D> array(
'0' =3D> array(
'GETvar' =3D> 'tx_ttnews[cat]',
),
),
'details' =3D> array(
'0' =3D> array(
'GETvar' =3D> 'tx_ttnews[tt_news]',
'lookUpTable' =3D> array(
'table' =3D> 'tt_news',
'id_field' =3D> 'uid',
'alias_field' =3D> 'title',
'addWhereClause' =3D> ' AND NOT deleted',
'useUniqueCache' =3D> '1',
'useUniqueCache_conf' =3D> array(
'strtolower' =3D> '1',
'spaceCharacter' =3D> '-',
),
),
),
'1' =3D> array(
'GETvar' =3D> 'tx_ttnews[backPid]',
),
'2' =3D> array(
'GETvar' =3D> 'tx_ttnews[swords]',
),
),
'galerie' =3D> array(
array(
'GETvar' =3D> 'tx_wtgallery_pi1[category]',
),
array(
'GETvar' =3D> 'tx_wtgallery_pi1[show]',
),
array(
'GETvar' =3D> 'tx_wtgallery_pi1[listpointer]',
),
array(
'GETvar' =3D> 'tx_wtgallery_pi1[categorypointer]',
),
),
),
),
'fileName' =3D> array(
'defaultToHTMLsuffixOnPrev' =3D> '0',
'index' =3D> array(
'print.html' =3D> array(
'keyValues' =3D> array(
'type' =3D> '98',
),
),
'rss.xml' =3D> array(
'keyValues' =3D> array(
'type' =3D> '100',
),
),
'rss091.xml' =3D> array(
'keyValues' =3D> array(
'type' =3D> '101',
),
),
'rdf.xml' =3D> array(
'keyValues' =3D> array(
'type' =3D> '102',
),
),
'atom.xml' =3D> array(
'keyValues' =3D> array(
'type' =3D> '103',
),
),
),
),
),
);
[PASTE]
[SNAP]
Again, many thanks for your stamina on this issue!
/bjorn
--
Bj=F6rn Wendeler :: Gesch=E4ftsf=FChrer
burnabit gmbh :: lahnstrasse 13 :: 51105 cologne :: de
telefon +49 221 492 37 48 :: telefax +49 221 16 90 19 47
GF: Bj=F6rn Wendeler :: HRB 63600 :: Amtsgericht K=F6ln
VAT-ID: DE260790068 :: http://www.burnabit.com
> ----- Urspr=FCngliche Nachricht -----
> Von: Bj=F6rn 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
>=20
> Hi Bj=F6rn,
>=20
>>=20
>> Do you know if there's a way of forcing TYPO3 to always use the L-parame=
ter
>> in the URL, even if we are on the default language (L=3D0)?
>>=20
>=20
> In RealUrl you can do it with the key 'valueDefault':
>=20
> $GLOBALS['TYPO3_CONF_VARS']['EXTCONF']['realurl']['_DEFAULT']['preVars'] =
=3D
> array (
> 0 =3D> array (
> 'GETvar' =3D> 'L',
> 'valueMap' =3D> array (
> 'en' =3D> '1',
> ),
> //'noMatch' =3D> 'bypass',
> 'valueDefault' =3D> 'de',
> ),
> );
>=20
>=20
> Greets,
> David
> _______________________________________________
> TYPO3-english mailing list
> TYPO3-english at lists.typo3.org
> http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-english
More information about the TYPO3-english
mailing list