[Typo3-dev] changing config.linkVars for specific links
Martin T. Kutschker
Martin.no5pam.Kutschker at blackbox.n0spam.net
Mon Jun 14 13:15:00 CEST 2004
Peter Niederlag wrote:
> Hi,
>
> Here is what I do in a IProcFunc(menu):
> if ($conf["parentObj"]->sys_page->sys_language_uid == "1") {
> $GLOBALS["TSFE"]->linkVars
> =str_replace("L=1","L=0",$GLOBALS["TSFE"]->linkVars);
> }
> ...
Nice but I'd use "&L=".
And you're limited to 10 languages :-)
Masi
More information about the TYPO3-dev
mailing list