Project

General

Profile

Actions

Feature #23974

closed

Optimize stdWrap usage for TypoScript content element IMGTEXT

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

Status:
Closed
Priority:
Should have
Category:
Communication
Target version:
-
Start date:
2010-11-06
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 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)


Files

tslib_content_IMGTEXT.diff (13 KB) tslib_content_IMGTEXT.diff Administrator Admin, 2010-11-06 23:01
Actions

Also available in: Atom PDF