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

Christian Kuhn lolli at schwarzbu.ch
Thu Jan 15 15:35:57 CET 2009


Hi,


Steffen Kamper wrote:
>>> There is no way to set default values for GET-vars as you know from
>>> extensions where you can set _DEFAULT_PI_VARS
>>
>> For plugins the name is chosen to avoid conflicts with user defined
>> names for "config" we can use better ones, eg "defaultGetVars".

+1 to the idea.

In the example of the style switcher a TS construct like this would be 
usefull, but the condition doesn't match (maybe I'm missing something):

config.defaultGetVars {
   foo = bar
}

[globalVar = GP:foo = bar]
   do something
[global]


Thanks
Christian


More information about the TYPO3-team-core mailing list