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

JoH asenau info at cybercraft.de
Sun Nov 14 17:27:40 CET 2010


This is an SVN patch request.

Type: Feature

Bugtracker references: http://bugs.typo3.org/view.php?id=16381
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 MEDIA by

adding stdWrap to the parameters

renderType
parameter.mmRenderType
parameter.mmForcePlayer
forcePlayer
parameter.mmType
type
parameter.mmWidth
parameter.mmHeight
width
height

that have been missing stdWrap properties.

optimizing the usage of stdWrap for the parameters

flexParams
parameter.mmFile
file
stdWrap

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

flexParams.
parameter.mmFile.
file.
stdWrap.

available.

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_MEDIA.diff
Type: application/octet-stream
Size: 4913 bytes
Desc: not available
URL: <http://lists.typo3.org/pipermail/typo3-team-core/attachments/20101114/1016b7bd/attachment-0001.obj>


More information about the TYPO3-team-core mailing list