[TYPO3-core] RFC: #10040: define Default GET-vars

Steffen Kamper info at sk-typo3.de
Thu Aug 27 12:15:13 CEST 2009


Hi,

for any reason my last message didn't recieved this list, so here again:

1) i renamed the property now to defaultGetVars as Benni and Michael
suggested
2) i got answer from security team that there are no concerns with this
patch
3) updated example:

config.defaultgetVars {
     test.var1.var2.p3 = 15
     L = 1
     tx_ttnews.tt_news.backpid = 14
}

4) Documentation

Property: defaultgetVars
Data type: array
Description:
Allows to set default values for GET parameters. Default value is taken
if the GET parameter isn't present only.
Array notation is done with dots, eg:
test[var1] will be written as text.var1

Example:
config.defaultgetVars {
     test.var1.var2.p3 = 15
     L = 1
     tx_ttnews.tt_news.backpid = 14
}

vg Steffen
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: 10040_v4.diff
Url: http://lists.netfielders.de/pipermail/typo3-team-core/attachments/20090827/ce0ba067/attachment.txt 


More information about the TYPO3-team-core mailing list