Project

General

Profile

Actions

Bug #19754

closed

define Default GET-vars

Added by Steffen Kamper over 15 years ago. Updated over 13 years ago.

Status:
Closed
Priority:
Should have
Category:
-
Target version:
-
Start date:
2009-01-01
Due date:
% Done:

0%

Estimated time:
TYPO3 Version:
4.3
PHP Version:
5.3
Tags:
Complexity:
Is Regression:
Sprint Focus:

Description

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
}

(issue imported from #M10040)


Files

10040.diff (963 Bytes) 10040.diff Administrator Admin, 2009-01-01 13:50
0010040_v5.patch (965 Bytes) 0010040_v5.patch Administrator Admin, 2009-09-01 17:42
Actions #1

Updated by Steffen Kamper over 14 years ago

committed to trunk, rev 5876

Actions

Also available in: Atom PDF