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

Ernesto Baschny [cron IT] ernst at cron-it.de
Fri May 15 14:41:50 CEST 2009


Hi,

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
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: bug11094-maxWInText-ignored.diff
Url: http://lists.netfielders.de/pipermail/typo3-team-core/attachments/20090515/35be2097/attachment.txt 


More information about the TYPO3-team-core mailing list