[TYPO3-core] RFC: #10040: define Default GET-vars
Franz Holzinger
franz at ttproducts.de
Fri Jan 2 09:12:49 CET 2009
Franz Holzinger a écrit :
> Hello Steffen,
>
>> There is no way to set default values for GET-vars as you know from
>> extensions where you can set _DEFAULT_PI_VARS
>>
>> A practical example is if you are use a style switcher with getVar
>> "style". You may define
>> config.linkVars = L,style
>>
>> Now you want to set a default value for style if no value is given.
>>
>> With attached patch you define them by
>>
>> config._DEFAULT_GET_VARS {
>> style = 3
>> }
>
> How do you configure an array to have the following by default?
>
> index.php?id=12&data[fe_users][1][username]='defaultfeusername'
config._DEFAULT_GET_VARS {
data[fe_users][1][username] = defaultfeusername
}
sorry.
More information about the TYPO3-team-core
mailing list