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

Kevin Ulrich Moschallski km at 3digit.de
Wed Nov 17 12:26:13 CET 2010


+1 by reading and testing

Great work, thanks Joey.

Regards,
Kevin

Am 17.11.2010 um 03:35 schrieb JoH asenau:

> 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<tslib_gifbuilder_stdWrap_optimized.diff>_______________________________________________
> Before posting to this list, please have a look to the posting rules
> on the following websites:
> 
> http://typo3.org/teams/core/core-mailinglist-rules/
> http://typo3.org/development/bug-fixing/diff-and-patch/
> _______________________________________________
> TYPO3-team-core mailing list
> TYPO3-team-core at lists.typo3.org
> http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-team-core



More information about the TYPO3-team-core mailing list