Project

General

Profile

Actions

Bug #20428

closed

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

Added by Ernesto Baschny almost 15 years ago. Updated over 5 years ago.

Status:
Closed
Priority:
Must have
Category:
-
Target version:
-
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

Also available in: Atom PDF