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

JoH asenau info at cybercraft.de
Mon Nov 1 10:26:54 CET 2010


This is an SVN patch request.

Type: Feature

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

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

adding stdWrap to the parameter

linKWrap

that has been missing stdWrap properties.

adding stdWrap to the standalone call of the wrap function, since it should correspond to behaviour of stdWrap.wrap, which is now stdWrap aware.

optimizing the usage of the parameter

wrap

so that wrap will only be executed when there is a wrap available.

optimizing the usage of stdWrap for the parameter

file

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

file.

available.

The rest of the content elements will follow step by step each in it's own RFC.

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_FILE.diff
Type: application/octet-stream
Size: 1682 bytes
Desc: not available
URL: <http://lists.typo3.org/pipermail/typo3-team-core/attachments/20101101/17748b67/attachment.obj>


More information about the TYPO3-team-core mailing list