[TYPO3-core] RFC Feature #16430: Optimize stdWrap usage for GIFBUILDER

JoH asenau info at cybercraft.de
Wed Nov 17 03:35:26 CET 2010


This is an SVN patch request.

Type: Feature

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

There are lots of parameters in GIFBUILDER that have not been covered by the stdWrap optimization of the content elements.

Only a few of them already use stdWrap, most of them don't.
Those who do use it, don't check for stdWrap functions before calling stdWrap.

Solution:
The attached patch changes this behaviour by optimizing the usage of stdWrap wherever it occured and introducing additional stdWrap functions to almost any GIFBUILDER element and parameter.

You can do things like this now:

20 = BOX
20 {
    dimensions = 0,21,20,20
    dimension.override.field = myField
    color = #333333 
    color.override.field = myColorField
    if.isTrue.data = GP:whatever
}

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_gifbuilder_stdWrap_optimized.diff
Type: application/octet-stream
Size: 10952 bytes
Desc: not available
URL: <http://lists.typo3.org/pipermail/typo3-team-core/attachments/20101117/ee8f014e/attachment.obj>


More information about the TYPO3-team-core mailing list