problem solved :

tmp.THELINK = COA
tmp.THELINK {

    wrap = <ul> | </ul>

    10.wrap = <li> | </li>
    10 = TEXT
    10.value = de |
    10.typolink {
        title = de
        parameter = http://domain1/index.php?id={TSFE:id}&L=0
        parameter.insertData=1
        }

    20.wrap = <li> | </li>
    20 = TEXT
    20.value = fr |
    20.typolink {
        title = fr
        parameter = http://domain2/index.php?id={TSFE:id}&L=1
        parameter.insertData=1
        }

    30.wrap = <li> | </li>
    30 = TEXT
    30.value = it
    30.typolink {
        title = it
        parameter = http://domain3/index.php?id={TSFE:id}&L=2
        parameter.insertData=1
        }
}



sry ;)

On Wed, Jul 29, 2009 at 3:09 PM, Fabian Fischer
<dermediamati...@gmail.com>wrote:

> Hi there!
>
> I have a multilingual typo3 page with a one page tree concept.
> But i have for each language an own domain.
>
> What i want do build is a language switcher that switch the language with
> the L parameter and switch the domain too.
>
> Something like this:
>
> <a href="http://www.domain1.ch/pageID/Lang=0";>de</a>
> <a href="http://www.domain2.ch/pageID/Lang=1";>fr</a>
> <a href="http://www.domain3.ch/pageID/Lang=2";>it</a>
>
> i tried something like this:
>
> tmp.THELINK = COA
> tmp.THELINK {
>
>    10 = TEXT
>    10.value = fr
>    10.typolink {
>      extTarget = _self
>      parameter.data = TSFE:id
>            additionalParams = &L=2
>     }
> }
>
> but i dont get the domain switch working.
>
> any ideas?
>
> thank you
>
> --
> ---------------------------------------------------------------------
> Freundliche Grüsse
>
> Fabian Fischer
> _______________________________________________
> TYPO3-english mailing list
> TYPO3-english@lists.netfielders.de
> http://lists.netfielders.de/cgi-bin/mailman/listinfo/typo3-english




-- 
---------------------------------------------------------------------
Freundliche Grüsse

Fabian Fischer
_______________________________________________
TYPO3-english mailing list
TYPO3-english@lists.netfielders.de
http://lists.netfielders.de/cgi-bin/mailman/listinfo/typo3-english

Reply via email to