[Typo3-dev] typolink.addQueryString is broken

Christopher bedlamhotel at gmail.com
Tue Nov 22 17:08:06 CET 2005


On 22/11/05, Martin Kutschker <Martin.Kutschker at n0spam-blackbox.net> wrote:
> Christopher schrieb:
> >
> > A related question: .addQueryString seems to have no effect when used
> > on sites using RealUrl. Can anyone confirm this..?
>
> Do you use 3.8.0 or 3.8.1? It only works with the latter. Real URL does
> not AFAIK change the PHP variables (like QUERY_STRNG).
>


3.8.1. I tested it by building a simple typolink to return the current
page's url including all GET params.  On e.g. a  tx_calendar page, the
typolink returns something like http://www.example.com/events/event/
when it should return
http://www.example.com/events/event/details/eventname...

-Christopher

lib.currentUrl = TEXT
lib.currentUrl {
  value = This page
  typolink {
    parameters.data = field:uid
    addQueryString = 1
  }
}




More information about the TYPO3-dev mailing list