[Typo3-dev] typolink.addQueryString is broken

Michael Stucki michael at typo3.org
Mon Nov 21 17:39:54 CET 2005


Hi Martin,

> typolink.addQueryString is suposed to add the QUERY_STRING to the URL
> parameters. This doesn't work:
> 
> 1.) QUERY_STRING does not contain an initial &

This was fixed in 3.8.1. Did you try it?

> 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.

> Questions:
> 
> How is this feature supposed to work? Under what circumstances has this
> ever been used?

I use it pretty often for things like language switches, print links, etc.

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




More information about the TYPO3-dev mailing list