[TYPO3] problem: howto 'append' GET/POST vars to a localized Link

Patrick Rodacker patrick.rodacker at the-reflection.de
Wed Sep 6 19:09:43 CEST 2006

Hi Alessandro,

Alessandro Tuveri wrote on 06.09.2006 13:15:

> The problems is simple, but I cant find any solution.
> For a localized site, suppose in two languages (default= italian,
> second= english) if I use the TS script from TSref manual (lib.langmenu)
> all works fine.
> The urls of a certain page are modified from TS adding the string '&L=0'
> or '&L=1' at the end.
> When the destination page requires some parameters (e.g. when the
> destination page is the detail page for TT_NEWS) and in THAT page you
> put the menu (ita | eng) you will see that the link doesn't 'pass
> forward' piVars (GET/POST).
> So that if you want localize THAT page, when you attempt to switch from
> a language to another you'll receive back 'no_idgiven' or similar.
> There is any TS or PHP to resolve this?!? Thank you very much...

Have a look at TSRef and search for 'addQueryString' as property of
HMENU. That settings will allow you to keep the GET vars in the url.


More information about the TYPO3-english mailing list