[TYPO3-core] RFC: Feature Request 4790: typolink.addQueryString - enable usage of merged POST and GET data

Ernesto Baschny [cron IT] ernst at cron-it.de
Tue Jan 23 15:31:59 CET 2007


Oliver Hader wrote: on 23.01.2007 13:16:

> Problem:
> On creating a link using TS typolink both methods - GET and POST -
> cannot be reused with addQueryString. It's only possible to use one of
> them - GET or POST.
> When using simulateStaticDocuments the QUERY_STRING variable is empty,
> so that doesn't help at all.

True, I have never heard about addQueryString, but it should make the
"print link" possible without any extension.

So +1 for that!

> Solution:
> Allow two new properties for addQueryString: "POST,GET" and "GET,POST"
> The sequence defines how data should be merged. "POST,GET" fetches first
> POST and GET overwrites duplicates. Vice versa for "GET,POST"
> (please see also the attached sample file).
> 
> Documentation changes:
> Section 5.8, property "addQueryString", to end of ".method" paragraph:
> It's possible to get both, POST and GET data, on setting this to
> "POST,GET" or "GET,POST". The last method in this sequence takes
> precedence and overwrites the parts that are also present for the first
> method.

In the documentation I would propose to change the examples in .exclude
to exclude be "pass,user,logintype", which might get appended to the
typolink if the user has just logged into TYPO3 as a fe_user.

Cheers,
Ernesto


More information about the TYPO3-team-core mailing list