[TYPO3] Re: [Typo3] Multiple Domain RealURL Issues
Jens Gammelgaard
jens.gammelgaard at optimon.dk
Wed May 31 15:16:55 CEST 2006
Hi Guys,
You seem to have done the latest refinement on the localconf so that
tt_news and realUrl talks with multiple domains.
If we think global, it seems that what is missing is multiple language
so that if L=1 then the postVars ex. article changes to artikel if L=2.
If you look at the example about fixedPostVars (you can find it fast by
searching for condPrevValue:
http://wiki.typo3.org/index.php/EXT/realurl/manual
then it seems to be possible to make a condition that could be aimed at
L too?
An example of what hopefully with your help could be conditioned to 2
languages could be this - so that the languages could be in made in 2
versions for each language:
'postVarSets' => array(
'_DEFAULT' => array(
// news archive parameters
'archive' => array(
array(
'GETvar' => 'tx_ttnews[year]' ,
),
array(
'GETvar' => 'tx_ttnews[month]' ,
'valueMap' => array(
'january' => '01',
'february' => '02',
'march' => '03',
'april' => '04',
'may' => '05',
'juni' => '06',
'july' => '07',
'august' => '08',
'september' => '09',
'october' => '10',
'november' => '11',
'december' => '12',
)
),
),
etc.
Heads up: What do you say?
Kindest
Jens
Michael Cannon skrev:
> After much debugging, multiple domains with multiple roots has been
> demonstrated to be working correctly with the following Real URL
> configuration file. Thanks to Matthew and Sash for the encouragement and
> ideas.
>
> http://cvs.cannonbose.com/cgi-bin/viewcvs.cgi/typo3/typo3conf/realurl.php?rev=1.19&view=markup
>
>
> The two big changes to my prior realurl.php script was turning off
> disablePathCache and enableUrlDecodeCache.
>
> disablePathCache prevents the system from recognizing root PIDs.
> enableUrlDecodeCache is fine for single root sites, but as it only grabs
> the first instance of a page path, it possibly returns the wrong PID of
> the page path since the root PID isn't taken into consideration.
>
> Good luck all with your multiple domain sites.
>
> Michael
>
> -----
> Michael Cannon
> Cannon Bose Project Manager
> Tel : +1 (206) 351-0159 Fax : +1 (802) 609-2776
>
More information about the TYPO3-english
mailing list