[TYPO3-core] RFC #16404: Optimize stdWrap usage for TypoScript content element SWFOBJECT

JoH asenau info at cybercraft.de
Mon Dec 27 16:42:16 CET 2010


Hi.

The following is a patch that has been forgotten during the stdWrap optimization series of patches.

Bugtracker reference:
http://bugs.typo3.org/view.php?id=16404

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

adding stdWrap to the parameters

type
file
forcePlayer

that have been missing stdWrap properties.

optimizing the usage of the parameters

player
installUrl
alternativeContent
layout
width
height

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

player.
installUrl.
alternativeContent.
layout.
width.
height.

available.

Adding stdWrap to the element itself.

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_SWFOBJECT.diff
Type: application/octet-stream
Size: 4598 bytes
Desc: not available
URL: <http://lists.typo3.org/pipermail/typo3-team-core/attachments/20101227/17e29c88/attachment.obj>


More information about the TYPO3-team-core mailing list