[TYPO3-english] addQueryString doesn't add tt_news parameters

Joerg Wagner news.netfielders.de at digilog.de
Fri Nov 21 13:50:21 CET 2008


Hi Jan,

 > Since HMENU.special = language is not able to preserve additional
 > parameters ...

you are wrong. This works perfectly:

lib.langSelect = HMENU
lib.langSelect {
   special = language
   special.value = 0,1,2,3
   special.normalWhenNoLanguage = 0
   addQueryString = 1
   addQueryString.exclude = id, L, cHash


The addQueryString prop is available for HMENU.special=language (and 
only for this specific one! - see TS-Ref HMENU).

Cheers, Jörg.



Jan Bednarik schrieb:
> Hi folks,
> 
> I'm trying to create language menu (without any additional extension). 
> Since HMENU.special = language is not able to preserve additional 
> parameters I used COA with typolinks. However, although typolinks have 
> addQueryString=1, tt_news parameters are not preserved.
> 
> Now, as I think about it, it's because the parameters are not in fact in 
> a query string, but are processed using RealUrl (it's an old web, new 
> ones use CoolUri of course), therefore not in the query string.
> 
> My point is, is it possible to create language selector that would keep 
> all parameters using pure TypoScript?
> 
> Thanks
> 


More information about the TYPO3-english mailing list