Project

General

Profile

Actions

Feature #23981

closed

Optimize stdWrap usage for TypoScript content element FORM

Added by Jo Hasenau almost 14 years ago. Updated over 13 years ago.

Status:
Closed
Priority:
Should have
Category:
Communication
Target version:
-
Start date:
2010-11-07
Due date:
% Done:

0%

Estimated time:
PHP Version:
5.2
Tags:
Complexity:
Sprint Focus:

Description

One part of the current TypoScript tuning process is to add missing stdWrap functions to existing content elements and optimize the current usage of stdWrap functions.

The attached patch will improve the element FORM by

adding stdWrap to the parameters

formName
fieldPrefix
wrapFieldName
params
params.tagname
dontMd5FieldNames
accessibility
compensateFieldWidth
noWrapAttr
noValueInsert
dataArray.X.required
dataArray.X.type
dataArray.X.valueArray.X.selected
dataArray.X.valueArray.X.value
REQ
REQ.layout
COMMENT.layout
CHECK.layout
RADIO.layout
LABEL.layout
redirect
target
no_cache
locationData
goodMess
badMess
emailMess
method
arrayReturnMode
hiddenFields.stdWrap

that have been missing stdWrap properties.

optimizing the usage of stdWrap for the parameters

data
dataArray.X.label
dataArray.X.value
dataArray.X.valueArray.X.label
dataArray.X.specialEval
radioWrap
radioWrap.accessibilityWrap
radioInputWrap
fieldWrap
labelWrap
commentWrap

so that stdWrap will only be executed when there is a "dotted" key

data.
dataArray.X.label.
dataArray.X.value.
dataArray.X.valueArray.X.label.
dataArray.X.specialEval.
radioWrap.
radioWrap.accessibilityWrap.
radioInputWrap.
fieldWrap.
labelWrap.
commentWrap.

available

Additionally hiddenFields.stdWrap.wrap has been added to setup.txt of CSS-styled-content, so that the default "wrap", which is actually hardcoded HTML can be overriden when necessary.

(issue imported from #M16295)


Files

tslib_content_FORM.diff (29.2 KB) tslib_content_FORM.diff Administrator Admin, 2010-11-07 17:37

Related issues 1 (0 open1 closed)

Related to TYPO3 Core - Bug #26867: content FORM: wrong layout for labelClosed2011-05-17

Actions
Actions

Also available in: Atom PDF