Actions
Bug #20428
closedmaxWInText setting is never used, because of missing "textPos" TypoScript property
Start date:
2009-05-15
Due date:
% Done:
0%
Estimated time:
TYPO3 Version:
PHP Version:
Tags:
Complexity:
Is Regression:
Sprint Focus:
Description
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.
This setting is used in css_styled_content's PHP code to decide if maxW or maxWInText is to be used (usually half the width).
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.
(issue imported from #M11094)
Actions