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

Steffen Kamper info at sk-typo3.de
Thu Jan 1 13:59:11 CET 2009


Hi,

This is SVN patch request.
Type: Feature

Bugtracker references:
http://bugs.typo3.org/view.php?id=10040

Branches: trunk

Problem:

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
}


vg Steffen
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: 10040.diff
Url: http://lists.netfielders.de/pipermail/typo3-team-core/attachments/20090101/085ecc1f/attachment.txt 
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: _DEFAULT_GET_VARS.doc.txt
Url: http://lists.netfielders.de/pipermail/typo3-team-core/attachments/20090101/085ecc1f/attachment-0001.txt 


More information about the TYPO3-team-core mailing list