Issue Bug Closed

#20428maxWInText setting is never used, because of missing "textPos" TypoScript property

Ernesto Baschny 05/15/09, 14:37 updated 10/02/18, 12:25

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)

Reviews 0

No change resolves or names this issue in its commit message, and no comment links one.