[TYPO3-core] RFC Feature #16287: Optimize stdWrap usage for TypoScript content element IMGTEXT

JoH asenau info at cybercraft.de
Sat Nov 6 23:13:53 CET 2010


This is an SVN patch request.

Type: Feature

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

Branches: trunk

Problem:
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.

Solution:
The attached patch will improve the element CTABLE by

adding stdWrap to the parameter

noStretchAndMarginCells

that has 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.

Cheers

Joey

-- 
Wenn man keine Ahnung hat: Einfach mal Fresse halten!
(If you have no clues: simply shut your gob sometimes!)
Dieter Nuhr, German comedian
Xing: http://contact.cybercraft.de
Twitter: http://twitter.com/bunnyfield
TYPO3 cookbook (2nd edition): http://www.typo3experts.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: tslib_content_IMGTEXT.diff
Type: application/octet-stream
Size: 13023 bytes
Desc: not available
URL: <http://lists.typo3.org/pipermail/typo3-team-core/attachments/20101106/71b4a52a/attachment-0001.obj>


More information about the TYPO3-team-core mailing list