Issue Feature Closed

#23974Optimize stdWrap usage for TypoScript content element IMGTEXT

Jo Hasenau 11/06/10, 23:01 updated 03/29/11, 17:50

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 IMGTEXT by

adding stdWrap to the parameters

noStretchAndMarginCells

that have been missing stdWrap properties.

optimizing the usage of stdWrap for the parameters

text
imgList
imgStart
imgMax
imgPath
captionSplit.stdWrap
textPos
textMargin
cols
rows
colSpace
rowSpace
border
borderCol
borderThick
captionAlign
colRelations
maxW
maxWInText
image_compression
image_effects
image_frames.key
equalH
noRows
noCols
spaceBelowAbove
stdWrap

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

text.
imgList.
imgStart.
imgMax.
imgPath.
captionSplit.stdWrap.
textPos.
textMargin.
cols.
rows.
colSpace.
rowSpace.
border.
borderCol.
borderThick.
captionAlign.
colRelations.
maxW.
maxWInText.
image_compression.
image_effects.
image_frames.key.
equalH.
noRows.
noCols.
spaceBelowAbove.
stdWrap.

available

Additionally the parameters borderCol and borderThick have been moved into a condition so that they will only be used when the border switch is set to true.

(issue imported from #M16287)

Reviews 0

No change resolves or names this issue in its commit message, and no comment links one.