[Typo3-dev] typolink.addQueryString is broken

Michael Stucki michael at typo3.org
Mon Nov 21 22:04:30 CET 2005


Hi Martin,

>>>2.) even if QUERY_STRING would contain a & id would be repeated
>> 
>> I know. This is not a problem technically because only the last &id is
>> read by PHP, but if you still want to clean them up, just set
>> config.uniqueLinkVars.
> 
> Yep. Is is a standard part if linkVars? I never set it an hesitate to
> add it to linkVars.

Sorry, didn't understand that question.

>> I use it pretty often for things like language switches, print links,
>> etc.
> 
> That's what I wanted it for, but... as reported it simply did'nt work in
> 3.8.0.
> 
> I tried (with the added &) to use it as a language switch, but I ran
> into troubles with cHash params, so I use a userFunc unless I find
> another solution (like my proposed addQueryString.removeParams).

The solution sounds good. Can you prepare a patch for this, please?

- michael
-- 
Use a newsreader! Check out
http://typo3.org/community/mailing-lists/use-a-news-reader/




More information about the TYPO3-dev mailing list