[TYPO3-core] RFC #11094: csc: maxWInText setting is never applied

Ernesto Baschny [cron IT] ernst at cron-it.de
Mon May 18 11:32:35 CEST 2009


Hi,

commited to trunk (rev. 5435).

Cheers,
Ernesto

Ernesto Baschny [cron IT] wrote: on 15.05.2009 14:41:

> this is a SVN patch request.
> 
> Type: bugfix
> 
> Branches: trunk
> 
> BT reference: http://bugs.typo3.org/view.php?id=11094
> 
> Problem:
> In the work of rearranging the TypoScript of css_styled_content (now
> split up into different versions), a bug was introduced in that the
> "textPos" property was forgotten in the split up files starting with v3.9.
> 
> This setting is used in css_styled_content's PHP code to decide if maxW
> or maxWInText is to be used (which is usually half the width of maxW).
> 
> To reproduce the problem:
> 
> 1) set the constant to styles.content.imgtext.maxWInText to 300 (default)
> 2) insert a content element with images to the "left of text".
> 3) see how they get rendered 600px wide in current trunk
> 
> Now apply the patch:
> Re-render the page, and now the 300px correct setting is applied to the
> image.
> 
> This is pretty critical as it will break several site layouts.
> 
> Cheers,
> Ernesto
> 


More information about the TYPO3-team-core mailing list